python3.pkgs.git-annex-adapter: replace eject by utillinux
This commit is contained in:
parent
59b5600af6
commit
a7bcc079fa
@ -1,12 +1,11 @@
|
|||||||
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchurl
|
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchurl
|
||||||
, eject, pygit2, gitMinimal, git-annex }:
|
, utillinux, pygit2, gitMinimal, git-annex }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "git-annex-adapter";
|
pname = "git-annex-adapter";
|
||||||
version = "0.2.0";
|
version = "0.2.0";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
disabled = (!isPy3k);
|
disabled = !isPy3k;
|
||||||
|
|
||||||
# There is only a wheel on PyPI - build from source instead
|
# There is only a wheel on PyPI - build from source instead
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -28,8 +27,8 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1hbw8651amjskakvs1wv2msd1wryrq0vpryvbispg5267rs8q7hp";
|
sha256 = "1hbw8651amjskakvs1wv2msd1wryrq0vpryvbispg5267rs8q7hp";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
checkInputs = [
|
||||||
eject # `rev` is needed in tests/test_process.py
|
utillinux # `rev` is needed in tests/test_process.py
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ pygit2 gitMinimal ];
|
propagatedBuildInputs = [ pygit2 gitMinimal ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user