depot/third_party/nixpkgs/pkgs/development/python-modules/hg-git/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

36 lines
647 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, dulwich
, mercurial
, pythonOlder
}:
buildPythonPackage rec {
pname = "hg-git";
version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-ORGDOWLrnImca+qPtJZmyC8hGxJNCEC+tq2V4jpGIbY=";
};
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 ];
};
}