10 buildPythonPackage rec {
13 format = "setuptools";
15 # github version comes bundled with tests
16 src = fetchFromGitHub {
17 owner = "sassoftware";
18 repo = "python-keyutils";
20 sha256 = "0pfqfr5xqgsqkxzrmj8xl2glyl4nbq0irs0k6ik7iy3gd3mxf5g1";
24 substituteInPlace setup.py --replace '"pytest-runner"' ""
28 cython keyutils/_keyutils.pyx
35 buildInputs = [ keyutils ];
36 nativeBuildInputs = [ cython ];
37 nativeCheckInputs = [ pytestCheckHook ];
40 description = "Set of python bindings for keyutils";
41 homepage = "https://github.com/sassoftware/python-keyutils";
42 license = lib.licenses.asl20;
43 maintainers = with lib.maintainers; [ primeos ];