Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 741 B view raw
1{ lib, fetchPypi, buildPythonPackage 2, lxml, pycryptodomex, construct 3, argon2_cffi, dateutil, future 4}: 5 6buildPythonPackage rec { 7 pname = "pykeepass"; 8 version = "3.2.1"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "b3e07eb2dd3aeb1dfa1a2d2d17be77066ee560c1e770f1c72d7ea5608117d284"; 13 }; 14 15 postPatch = '' 16 substituteInPlace setup.py --replace "==" ">=" 17 ''; 18 19 propagatedBuildInputs = [ 20 lxml pycryptodomex construct 21 argon2_cffi dateutil future 22 ]; 23 24 # no tests in PyPI tarball 25 doCheck = false; 26 27 meta = { 28 homepage = "https://github.com/pschmitt/pykeepass"; 29 description = "Python library to interact with keepass databases (supports KDBX3 and KDBX4)"; 30 license = lib.licenses.gpl3; 31 }; 32 33}