1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, funcsigs
6}:
7
8buildPythonPackage rec {
9 pname = "pint";
10 version = "0.9";
11
12 src = fetchPypi {
13 inherit version;
14 pname = "Pint";
15 sha256 = "32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2";
16 };
17
18 propagatedBuildInputs = lib.optional isPy27 funcsigs;
19
20 meta = with lib; {
21 description = "Physical quantities module";
22 license = licenses.bsd3;
23 homepage = "https://github.com/hgrecco/pint/";
24 maintainers = [ maintainers.costrouc ];
25 };
26
27}