nixpkgs/pkgs/development/python-modules/hg-git/default.nix
2021-10-25 13:46:56 -04:00

27 lines
539 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, dulwich
, mercurial
}:
buildPythonPackage rec {
pname = "hg-git";
version = "0.10.2";
src = fetchPypi {
inherit pname version;
sha256 = "aae1c47328bb7f928778712654c3d5f100445190e2891f175dac66d743fdb2e8";
};
propagatedBuildInputs = [ dulwich mercurial ];
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;
};
}