Merge pull request #153415 from AndersonTorres/new-castxml

castxml: 0.4.3 -> 0.4.4
This commit is contained in:
Anderson Torres 2022-01-04 00:39:04 -03:00 committed by GitHub
commit 135d7cbdec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 10 deletions

View File

@ -14,13 +14,13 @@
stdenv.mkDerivation rec {
pname = "CastXML";
version = "0.4.3";
version = "0.4.4";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-MschwCEkZrZmNgr8a1ocdukjXzHbXl2gmkPmygJaA6k=";
hash = "sha256-VtkMjZOcF5OAHkezlupXOpNwqUD1oKHdRbtG2FZBRL4=";
};
nativeBuildInputs = [
@ -30,23 +30,23 @@ stdenv.mkDerivation rec {
sphinx
];
cmakeFlags = [
"-DCLANG_RESOURCE_DIR=${libclang.dev}/"
"-DSPHINX_HTML=${if withHTML then "ON" else "OFF"}"
"-DSPHINX_MAN=${if withManual then "ON" else "OFF"}"
];
buildInputs = [
libclang
libffi
libxml2
zlib
libclang
];
propagatedBuildInputs = [
libclang
];
cmakeFlags = [
"-DCLANG_RESOURCE_DIR=${libclang.dev}/"
"-DSPHINX_HTML=${if withHTML then "ON" else "OFF"}"
"-DSPHINX_MAN=${if withManual then "ON" else "OFF"}"
];
# 97% tests passed, 97 tests failed out of 2881
# mostly because it checks command line and nix append -isystem and all
doCheck = false;
@ -64,5 +64,6 @@ stdenv.mkDerivation rec {
license = licenses.asl20;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
broken = stdenv.isDarwin;
};
}

View File

@ -244,7 +244,7 @@ with pkgs;
castxml = callPackage ../development/tools/castxml {
inherit (llvmPackages) libclang llvm;
inherit (python3Packages) sphinx;
inherit (python3.pkgs) sphinx;
};
catatonit = callPackage ../applications/virtualization/catatonit { };