mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
Merge pull request #42950 from Ma27/fix-py-keyutils
pythonPackages.keyutils: fix build
This commit is contained in:
commit
c6bea11567
@ -1,17 +1,19 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, keyutils, pytestrunner }:
|
{ lib, buildPythonPackage, fetchFromGitHub, keyutils, pytestrunner, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "keyutils";
|
pname = "keyutils";
|
||||||
version = "0.5";
|
version = "0.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
# github version comes bundled with tests
|
||||||
inherit pname version;
|
src = fetchFromGitHub {
|
||||||
sha256 = "0dskys71vkn59vlsfs1ljli0qnzk7b10iv4pawxawnk2hvyjrf10";
|
owner = "sassoftware";
|
||||||
|
repo = "python-keyutils";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1gga60w8sb3r5bxa0bfp7d7wzg6s3db5y7aizr14p2pvp92d8bdi";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ keyutils pytestrunner ];
|
buildInputs = [ keyutils ];
|
||||||
|
checkInputs = [ pytest pytestrunner ];
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A set of python bindings for keyutils";
|
description = "A set of python bindings for keyutils";
|
||||||
|
Loading…
Reference in New Issue
Block a user