mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
212e78f7f1
This also fixes the build for Python 3.7.
25 lines
666 B
Nix
25 lines
666 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 ];
|
|
};
|
|
}
|