mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-30 00:50:17 +02:00
python3Packages.hg-git: disable on older Python releases
- Add pythonImportsCheck
This commit is contained in:
parent
81ad142b83
commit
dcfbb20d25
|
@ -3,24 +3,34 @@
|
|||
, fetchPypi
|
||||
, dulwich
|
||||
, mercurial
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hg-git";
|
||||
version = "1.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-ORGDOWLrnImca+qPtJZmyC8hGxJNCEC+tq2V4jpGIbY=";
|
||||
hash = "sha256-ORGDOWLrnImca+qPtJZmyC8hGxJNCEC+tq2V4jpGIbY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ dulwich mercurial ];
|
||||
propagatedBuildInputs = [
|
||||
dulwich
|
||||
mercurial
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"hggit"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Push and pull from a Git server using Mercurial";
|
||||
homepage = "https://hg-git.github.io/";
|
||||
maintainers = with maintainers; [ koral ];
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue