blob: 9b2eb27f60933291f696d58a94a22191493e6056 (
plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
numpy,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "quantities";
version = "0.16.2";
pyproject = true;
src = fetchFromGitHub {
owner = "python-quantities";
repo = "python-quantities";
tag = "v${version}";
hash = "sha256-6Kl7TiSCSDtMjRKMNVweoGJ1y8kmo1j4SY0tikyAozs=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "quantities" ];
meta = {
description = "Quantities is designed to handle arithmetic and conversions of physical quantities";
homepage = "https://python-quantities.readthedocs.io/";
changelog = "https://github.com/python-quantities/python-quantities/blob/v${version}/CHANGES.txt";
license = lib.licenses.bsd2;
maintainers = [ ];
};
}
|