pythonPackages.git-annex-adapter: 0.2.1 -> 0.2.2, fix build
This commit is contained in:
parent
ad58fe136c
commit
704c258ea7
@ -1,10 +1,10 @@
|
|||||||
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, substituteAll
|
{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, substituteAll
|
||||||
, python, utillinux, pygit2, gitMinimal, git-annex
|
, python, utillinux, pygit2, gitMinimal, git-annex, cacert
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "git-annex-adapter";
|
pname = "git-annex-adapter";
|
||||||
version = "0.2.1";
|
version = "0.2.2";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
|||||||
owner = "alpernebbi";
|
owner = "alpernebbi";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "146q1jhcfc7f96ajkhjffskkljk2xzivs5ih5clb8qx0sh7mj097";
|
sha256 = "0666vqspgnvmfs6j3kifwyxr6zmxjs0wlwis7br4zcq0gk32zgdx";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -28,11 +28,12 @@ buildPythonPackage rec {
|
|||||||
utillinux # `rev` is needed in tests/test_process.py
|
utillinux # `rev` is needed in tests/test_process.py
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ pygit2 ];
|
propagatedBuildInputs = [ pygit2 cacert ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.interpreter} -m unittest
|
${python.interpreter} -m unittest
|
||||||
'';
|
'';
|
||||||
|
pythonImportsCheck = [ "git_annex_adapter" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/alpernebbi/git-annex-adapter";
|
homepage = "https://github.com/alpernebbi/git-annex-adapter";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user