diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-16 14:12:38 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-10-17 07:46:59 +0200 |
commit | 99d1456df7df388595673b673664f994609a842c (patch) | |
tree | 1b071da8977c12975f66a4947c27679b9477fe87 /pkgs/development/python-modules/hg-git | |
parent | 4d25c10bff07bc39bf9eccd6933424d738d9834b (diff) |
pythonPackages.hg-git: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/hg-git')
-rw-r--r-- | pkgs/development/python-modules/hg-git/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/hg-git/default.nix b/pkgs/development/python-modules/hg-git/default.nix new file mode 100644 index 0000000000000..2b32afc2f8245 --- /dev/null +++ b/pkgs/development/python-modules/hg-git/default.nix @@ -0,0 +1,27 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, dulwich +, isPy3k +}: + +buildPythonPackage rec { + pname = "hg-git"; + version = "0.8.11"; + disabled = isPy3k; + + src = fetchPypi { + inherit pname version; + sha256 = "08kw1sj3sq1q1571hwkc51w20ks9ysmlg93pcnmd6gr66bz02dyn"; + }; + + propagatedBuildInputs = [ dulwich ]; + + meta = with stdenv.lib; { + description = "Push and pull from a Git server using Mercurial"; + homepage = http://hg-git.github.com/; + maintainers = with maintainers; [ koral ]; + license = stdenv.lib.licenses.gpl2; + }; + +} |