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 { };