depot/third_party/nixpkgs/pkgs/development/python-modules/versiontools/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

24 lines
466 B
Nix

{ lib, stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "versiontools";
version = "1.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "1xhl6kl7f4srgnw6zw4lr8j2z5vmrbaa83nzn2c9r2m1hwl36sd9";
};
doCheck = (!isPy3k);
meta = with lib; {
homepage = "https://launchpad.net/versiontools";
description = "Smart replacement for plain tuple used in __version__";
license = licenses.lgpl2;
};
}