nixpkgs/pkgs/development/python-modules/cppy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
595 B
Nix
Raw Normal View History

2020-06-07 11:15:26 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
, setuptools-scm
2020-06-07 11:15:26 +02:00
}:
buildPythonPackage rec {
pname = "cppy";
2022-03-31 01:05:06 +02:00
version = "1.2.1";
disabled = pythonOlder "3.7";
2020-06-07 11:15:26 +02:00
src = fetchPypi {
inherit pname version;
2022-03-31 01:05:06 +02:00
sha256 = "sha256-g7Q78XsQhawVxd69tCFU8Ti5KCNLIURzWJgfadDW/hs=";
2020-06-07 11:15:26 +02:00
};
nativeBuildInputs = [
setuptools-scm
];
2020-06-07 11:15:26 +02:00
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cppy" ];
2020-06-07 11:15:26 +02:00
meta = {
description = "C++ headers for C extension development";
homepage = "https://github.com/nucleic/cppy";
license = lib.licenses.bsd3;
};
2020-08-25 04:07:09 +02:00
}