about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pint/default.nix
blob: 8bbda8bd51f17cf7df502014df41a34a4a87c631 (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
25
26
27
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, funcsigs
}:

buildPythonPackage rec {
  pname = "pint";
  version = "0.9";

  src = fetchPypi {
    inherit version;
    pname = "Pint";
    sha256 = "32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2";
  };

  propagatedBuildInputs = lib.optional isPy27 funcsigs;

  meta = with lib; {
    description = "Physical quantities module";
    license = licenses.bsd3;
    homepage = "https://github.com/hgrecco/pint/";
    maintainers = [ maintainers.costrouc ];
  };

}