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";
|
2019-02-01 17:29:15 +00:00
|
|
|
version = "0.6";
|
2017-10-31 16:28:59 +00:00
|
|
|
|
2018-07-03 22:46:32 +01:00
|
|
|
# github version comes bundled with tests
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sassoftware";
|
|
|
|
repo = "python-keyutils";
|
2019-02-01 17:29:15 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0pfqfr5xqgsqkxzrmj8xl2glyl4nbq0irs0k6ik7iy3gd3mxf5g1";
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/sassoftware/python-keyutils";
|
2017-10-31 16:28:59 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|