python310Packages.pygccxml: add format
- disable on unsupported Python releases - add changelog to meta
This commit is contained in:
parent
3e83bb9f4c
commit
124a6ef9b0
1 changed files with 20 additions and 7 deletions
|
@ -1,25 +1,38 @@
|
|||
{ lib, castxml, fetchFromGitHub, buildPythonPackage,
|
||||
llvmPackages }:
|
||||
{ lib
|
||||
, castxml
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, llvmPackages
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygccxml";
|
||||
version = "2.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gccxml";
|
||||
repo = "pygccxml";
|
||||
owner = "gccxml";
|
||||
repo = "pygccxml";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-+cmp41iWbkUSLNFLvEPHocpTQAX2CpD8HMXLIYcy+8k=";
|
||||
hash = "sha256-+cmp41iWbkUSLNFLvEPHocpTQAX2CpD8HMXLIYcy+8k=";
|
||||
};
|
||||
|
||||
buildInputs = [ castxml llvmPackages.libcxxStdenv];
|
||||
buildInputs = [
|
||||
castxml
|
||||
llvmPackages.libcxxStdenv
|
||||
];
|
||||
|
||||
# running the suite is hard, needs to generate xml_generator.cfg
|
||||
# but the format doesn't accept -isystem directives
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/gccxml/pygccxml";
|
||||
description = "Python package for easy C++ declarations navigation";
|
||||
homepage = "https://github.com/gccxml/pygccxml";
|
||||
changelog = "https://github.com/CastXML/pygccxml/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.boost;
|
||||
maintainers = with maintainers; [ teto ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue