mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
hglib: 1.7 -> 2.4
This commit is contained in:
parent
2edb7e9b2d
commit
c256a685e8
26
pkgs/development/python-modules/hglib/default.nix
Normal file
26
pkgs/development/python-modules/hglib/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, nose, mercurial, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-hglib";
|
||||
version = "2.4";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qll9cc9ndqizby00gxdcf6d0cysdhjkr8670a4ffrk55bcnwgb9";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
buildInputs = [ mercurial ];
|
||||
|
||||
checkPhase = ''python test.py'';
|
||||
doCheck = if isPy3k then false else true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Mercurial Python library";
|
||||
homepage = "http://selenic.com/repo/python-hglib";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dfoxfranke ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -6143,23 +6143,7 @@ in {
|
||||
|
||||
};
|
||||
|
||||
hglib = buildPythonPackage rec {
|
||||
version = "1.7";
|
||||
name = "hglib-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/python-hglib/python-hglib-${version}.tar.gz";
|
||||
sha256 = "0dc087d15b774cda82d3c8096fb0e514caeb2ddb60eed38e9056b16e279ba3c5";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Mercurial Python library";
|
||||
homepage = "http://selenic.com/repo/python-hglib";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dfoxfranke ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
hglib = callPackage ../development/python-modules/hglib {};
|
||||
|
||||
humanize = buildPythonPackage rec {
|
||||
version = "0.5.1";
|
||||
|
Loading…
Reference in New Issue
Block a user