depot/third_party/nixpkgs/pkgs/development/python-modules/cppy/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

27 lines
509 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "cppy";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "4eda6f1952054a270f32dc11df7c5e24b259a09fddf7bfaa5f33df9fb4a29642";
};
# Headers-only library, no tests
doCheck = false;
# Not supported
disabled = !isPy3k;
meta = {
description = "C++ headers for C extension development";
homepage = "https://github.com/nucleic/cppy";
license = lib.licenses.bsd3;
};
}