f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
43 lines
742 B
Nix
43 lines
742 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
setuptools-scm,
|
|
dulwich,
|
|
mercurial,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hg-git";
|
|
version = "1.1.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "hg_git";
|
|
inherit version;
|
|
hash = "sha256-BZzcElZa0pMBSGXSiSB+d+YFhJMM5PAdT2Txq5qLZCU=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
dulwich
|
|
mercurial
|
|
];
|
|
|
|
pythonImportsCheck = [ "hggit" ];
|
|
|
|
meta = with lib; {
|
|
description = "Push and pull from a Git server using Mercurial";
|
|
homepage = "https://hg-git.github.io/";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ koral ];
|
|
};
|
|
}
|