summary refs log tree commit diff
path: root/pkgs/development/python-modules/versiontools/default.nix
blob: f74c8610b4cccd698a136aa2cbf04eb4d71c6ced (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib
, 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;
  };

}