lol

python3Packages.cppy: 1.2.1 -> 1.3.0

+11 -7
+11 -7
pkgs/development/python-modules/cppy/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - fetchPypi, 4 + fetchFromGitHub, 5 5 pythonOlder, 6 6 pytestCheckHook, 7 7 setuptools-scm, ··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "cppy"; 12 - version = "1.2.1"; 13 - format = "setuptools"; 12 + version = "1.3.0"; 13 + pyproject = true; 14 + 14 15 disabled = pythonOlder "3.7"; 15 16 16 - src = fetchPypi { 17 - inherit pname version; 18 - hash = "sha256-g7Q78XsQhawVxd69tCFU8Ti5KCNLIURzWJgfadDW/hs="; 17 + src = fetchFromGitHub { 18 + owner = "nucleic"; 19 + repo = "cppy"; 20 + tag = version; 21 + hash = "sha256-RwwXwdjpq4ZjUyHkWoh3eaJDzIV3MargeoBJ+nTHsyg="; 19 22 }; 20 23 21 - nativeBuildInputs = [ setuptools-scm ]; 24 + build-system = [ setuptools-scm ]; 22 25 23 26 nativeCheckInputs = [ pytestCheckHook ]; 24 27 25 28 pythonImportsCheck = [ "cppy" ]; 26 29 27 30 meta = { 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;