depot/third_party/nixpkgs/pkgs/development/python-modules/hg-git/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

41 lines
712 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, dulwich
, mercurial
, pythonOlder
}:
buildPythonPackage rec {
pname = "hg-git";
version = "1.1.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-btEamGLqCC5PRigxHbe49/bnJNVGm6Czf852JaAdB38=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
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 ];
};
}