Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 666 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, keyutils, pytestrunner, pytest }: 2 3buildPythonPackage rec { 4 pname = "keyutils"; 5 version = "0.6"; 6 7 # github version comes bundled with tests 8 src = fetchFromGitHub { 9 owner = "sassoftware"; 10 repo = "python-keyutils"; 11 rev = version; 12 sha256 = "0pfqfr5xqgsqkxzrmj8xl2glyl4nbq0irs0k6ik7iy3gd3mxf5g1"; 13 }; 14 15 buildInputs = [ keyutils ]; 16 checkInputs = [ pytest pytestrunner ]; 17 18 meta = { 19 description = "A set of python bindings for keyutils"; 20 homepage = https://github.com/sassoftware/python-keyutils; 21 license = lib.licenses.asl20; 22 maintainers = with lib.maintainers; [ primeos ]; 23 }; 24}