2018-07-03 22:46:32 +01:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, keyutils, pytestrunner, pytest }:
|
2017-10-31 16:28:59 +00:00
|
|
|
|
2017-11-09 11:26:09 +00:00
|
|
|
buildPythonPackage rec {
|
2017-10-31 16:28:59 +00:00
|
|
|
pname = "keyutils";
|
|
|
|
version = "0.5";
|
|
|
|
|
2018-07-03 22:46:32 +01:00
|
|
|
# github version comes bundled with tests
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sassoftware";
|
|
|
|
repo = "python-keyutils";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1gga60w8sb3r5bxa0bfp7d7wzg6s3db5y7aizr14p2pvp92d8bdi";
|
2017-10-31 16:28:59 +00:00
|
|
|
};
|
|
|
|
|
2018-07-03 22:46:32 +01:00
|
|
|
buildInputs = [ keyutils ];
|
|
|
|
checkInputs = [ pytest pytestrunner ];
|
2017-10-31 16:28:59 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|