tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python311Packages.grappelli-safe: refactor
natsukium
2 years ago
9b8f826b
57b1460b
+19
-4
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
grappelli-safe
default.nix
+19
-4
pkgs/development/python-modules/grappelli-safe/default.nix
reviewed
···
1
1
{ lib
2
2
, buildPythonPackage
3
3
, fetchPypi
4
4
+
, pythonOlder
5
5
+
, setuptools
4
6
}:
5
7
6
8
buildPythonPackage rec {
7
9
version = "1.1.1";
8
10
pname = "grappelli-safe";
11
11
+
pyproject = true;
12
12
+
13
13
+
disabled = pythonOlder "3.6";
9
14
10
15
src = fetchPypi {
11
16
pname = "grappelli_safe";
12
17
inherit version;
13
13
-
sha256 = "ee34b3e2a3711498b1f8da3d9daa8a1239efdf255a212181742b6a5890fac039";
18
18
+
hash = "sha256-7jSz4qNxFJix+No9naqKEjnv3yVaISGBdCtqWJD6wDk=";
14
19
};
15
20
21
21
+
nativeBuildInputs = [
22
22
+
setuptools
23
23
+
];
24
24
+
25
25
+
# upstream has no tests
26
26
+
doCheck = false;
27
27
+
28
28
+
pythonImportsCheck = [
29
29
+
"grappelli_safe"
30
30
+
];
31
31
+
16
32
meta = with lib; {
17
33
description = "A snapshot of django-grappelli for the Mezzanine CMS";
18
34
longDescription = ''
···
27
43
'';
28
44
homepage = "https://github.com/stephenmcd/grappelli-safe";
29
45
downloadPage = "http://pypi.python.org/pypi/grappelli_safe/";
30
30
-
license = licenses.free;
46
46
+
changelog = "https://github.com/stephenmcd/grappelli-safe/releases/tag/v${version}";
47
47
+
license = licenses.bsd3;
31
48
maintainers = with maintainers; [ prikhi ];
32
32
-
platforms = platforms.unix;
33
49
};
34
34
-
35
50
}