tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.cppy: 1.2.1 -> 1.3.0
Martin Weinelt
1 year ago
8525cf71
44c8cbad
+11
-7
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
cppy
default.nix
+11
-7
pkgs/development/python-modules/cppy/default.nix
···
1
1
{
2
2
lib,
3
3
buildPythonPackage,
4
4
-
fetchPypi,
4
4
+
fetchFromGitHub,
5
5
pythonOlder,
6
6
pytestCheckHook,
7
7
setuptools-scm,
···
9
9
10
10
buildPythonPackage rec {
11
11
pname = "cppy";
12
12
-
version = "1.2.1";
13
13
-
format = "setuptools";
12
12
+
version = "1.3.0";
13
13
+
pyproject = true;
14
14
+
14
15
disabled = pythonOlder "3.7";
15
16
16
16
-
src = fetchPypi {
17
17
-
inherit pname version;
18
18
-
hash = "sha256-g7Q78XsQhawVxd69tCFU8Ti5KCNLIURzWJgfadDW/hs=";
17
17
+
src = fetchFromGitHub {
18
18
+
owner = "nucleic";
19
19
+
repo = "cppy";
20
20
+
tag = version;
21
21
+
hash = "sha256-RwwXwdjpq4ZjUyHkWoh3eaJDzIV3MargeoBJ+nTHsyg=";
19
22
};
20
23
21
21
-
nativeBuildInputs = [ setuptools-scm ];
24
24
+
build-system = [ setuptools-scm ];
22
25
23
26
nativeCheckInputs = [ pytestCheckHook ];
24
27
25
28
pythonImportsCheck = [ "cppy" ];
26
29
27
30
meta = {
31
31
+
changelog = "https://github.com/nucleic/cppy/releases/tag/${src.tag}";
28
32
description = "C++ headers for C extension development";
29
33
homepage = "https://github.com/nucleic/cppy";
30
34
license = lib.licenses.bsd3;