pythonPackages.versiontools: refactor move to python-modules
This commit is contained in:
parent
35f95f0595
commit
dcd9daa561
24
pkgs/development/python-modules/versiontools/default.nix
Normal file
24
pkgs/development/python-modules/versiontools/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "versiontools";
|
||||||
|
version = "1.9.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1xhl6kl7f4srgnw6zw4lr8j2z5vmrbaa83nzn2c9r2m1hwl36sd9";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = (!isPy3k);
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://launchpad.net/versiontools;
|
||||||
|
description = "Smart replacement for plain tuple used in __version__";
|
||||||
|
license = licenses.lgpl2;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4294,16 +4294,7 @@ in {
|
|||||||
|
|
||||||
txamqp = callPackage ../development/python-modules/txamqp { };
|
txamqp = callPackage ../development/python-modules/txamqp { };
|
||||||
|
|
||||||
versiontools = buildPythonPackage rec {
|
versiontools = callPackage ../development/python-modules/versiontools { };
|
||||||
name = "versiontools-1.9.1";
|
|
||||||
doCheck = (!isPy3k);
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/v/versiontools/${name}.tar.gz";
|
|
||||||
sha256 = "1xhl6kl7f4srgnw6zw4lr8j2z5vmrbaa83nzn2c9r2m1hwl36sd9";
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
veryprettytable = buildPythonPackage rec {
|
veryprettytable = buildPythonPackage rec {
|
||||||
name = "veryprettytable-${version}";
|
name = "veryprettytable-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user