mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
25 lines
466 B
Nix
25 lines
466 B
Nix
{ 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;
|
|
};
|
|
|
|
}
|