pythonPackages.hg-git: refactor move to python-modules
This commit is contained in:
parent
4d25c10bff
commit
99d1456df7
27
pkgs/development/python-modules/hg-git/default.nix
Normal file
27
pkgs/development/python-modules/hg-git/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2336,25 +2336,7 @@ in {
|
|||||||
inherit (pkgs) git glibcLocales;
|
inherit (pkgs) git glibcLocales;
|
||||||
};
|
};
|
||||||
|
|
||||||
hg-git = buildPythonPackage rec {
|
hg-git = callPackage ../development/python-modules/hg-git { };
|
||||||
name = "hg-git-${version}";
|
|
||||||
version = "0.8.11";
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/h/hg-git/${name}.tar.gz";
|
|
||||||
sha256 = "08kw1sj3sq1q1571hwkc51w20ks9ysmlg93pcnmd6gr66bz02dyn";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ dulwich ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
dtopt = buildPythonPackage rec {
|
dtopt = buildPythonPackage rec {
|
||||||
name = "dtopt-0.1";
|
name = "dtopt-0.1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user