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