tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.fastbencode: format with nixfmt
Fabian Affolter
2 years ago
019e635d
eb945009
+12
-17
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
fastbencode
default.nix
+12
-17
pkgs/development/python-modules/fastbencode/default.nix
···
1
1
-
{ lib
2
2
-
, buildPythonPackage
3
3
-
, cython
4
4
-
, fetchPypi
5
5
-
, python
6
6
-
, pythonOlder
7
7
-
, setuptools
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
cython,
5
5
+
fetchPypi,
6
6
+
python,
7
7
+
pythonOlder,
8
8
+
setuptools,
8
9
}:
9
10
10
11
buildPythonPackage rec {
11
12
pname = "fastbencode";
12
13
version = "0.3.1";
13
13
-
pyproject =true;
14
14
+
pyproject = true;
14
15
15
16
disabled = pythonOlder "3.8";
16
17
···
19
20
hash = "sha256-X+DLfRc2iRr2HSreQM6UiUHUbpCLFvU4P1XxJ4SNoZc=";
20
21
};
21
22
22
22
-
build-system = [
23
23
-
setuptools
24
24
-
];
23
23
+
build-system = [ setuptools ];
25
24
26
26
-
nativeBuildInputs = [
27
27
-
cython
28
28
-
];
25
25
+
nativeBuildInputs = [ cython ];
29
26
30
30
-
pythonImportsCheck = [
31
31
-
"fastbencode"
32
32
-
];
27
27
+
pythonImportsCheck = [ "fastbencode" ];
33
28
34
29
checkPhase = ''
35
30
${python.interpreter} -m unittest fastbencode.tests.test_suite