depot/third_party/nixpkgs/pkgs/development/python-modules/keyutils/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
668 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, keyutils, pytestrunner, 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";
};
buildInputs = [ keyutils ];
checkInputs = [ pytest pytestrunner ];
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 ];
};
}