My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/keyutils/default.nix

28 lines
756 B

{ lib, buildPythonPackage, fetchFromGitHub, keyutils, pytest-runner, pytest }:
buildPythonPackage rec {
pname = "keyutils";
version = "0.6";
# github version comes bundled with tests
src = fetchFromGitHub {
owner = "sassoftware";
repo = "python-keyutils";
rev = version;
sha256 = "0pfqfr5xqgsqkxzrmj8xl2glyl4nbq0irs0k6ik7iy3gd3mxf5g1";
};
postPatch = ''
substituteInPlace setup.py --replace '"pytest-runner"' ""
'';
buildInputs = [ keyutils ];
checkInputs = [ pytest pytest-runner ];
meta = {
description = "A set of python bindings for keyutils";
homepage = "https://github.com/sassoftware/python-keyutils";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ primeos ];
};
}