From dca577a36c4f90cf31de804ce9fb4e6a1aab259e Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Wed, 12 Sep 2018 01:42:17 +0200 Subject: [PATCH] python.pkgs.pykeepass: init at 3.0.2 --- .../python-modules/pykeepass/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/pykeepass/default.nix diff --git a/pkgs/development/python-modules/pykeepass/default.nix b/pkgs/development/python-modules/pykeepass/default.nix new file mode 100644 index 000000000000..68c35ed0df12 --- /dev/null +++ b/pkgs/development/python-modules/pykeepass/default.nix @@ -0,0 +1,26 @@ +{ lib, fetchPypi, buildPythonPackage +, lxml, pycryptodome, construct +, argon2_cffi, dateutil, enum34 +}: + +buildPythonPackage rec { + pname = "pykeepass"; + version = "3.0.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "1kfnh42nimsbdpwpny2c9df82b2n4fb5fagh54ck06f3x483vd90"; + }; + + propagatedBuildInputs = [ + lxml pycryptodome construct + argon2_cffi dateutil enum34 + ]; + + meta = { + homepage = https://github.com/pschmitt/pykeepass; + description = "Python library to interact with keepass databases (supports KDBX3 and KDBX4)"; + license = lib.licenses.gpl3; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ed12cf2e17be..54384028abde 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -467,6 +467,8 @@ in { pykerberos = callPackage ../development/python-modules/pykerberos { }; + pykeepass = callPackage ../development/python-modules/pykeepass { }; + pymatgen = callPackage ../development/python-modules/pymatgen { }; pymatgen-lammps = callPackage ../development/python-modules/pymatgen-lammps { };