blob: ef2135e83f98ba1a24cfeff12bd2e1522cce20b0 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "binary";
version = "1.0.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-bsAQ5Y9zMevIvJY42+bGbWNd5g1YGLByO+9N6tDsKKY=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"binary"
"binary.core"
];
meta = with lib; {
description = "Easily convert between binary and SI units (kibibyte, kilobyte, etc.)";
homepage = "https://github.com/ofek/binary";
license = with licenses; [
asl20
mit
];
maintainers = [ ];
};
}
|