naja: 0-unstable-2025-01-13 -> 0.1.16; libdwarf-lite: drop (#417226)

This commit is contained in:
Weijia Wang
2025-06-18 00:31:52 +02:00
committed by GitHub
3 changed files with 11 additions and 50 deletions
-39
View File
@@ -1,39 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libdwarf-lite";
version = "0.12.0";
src = fetchFromGitHub {
owner = "jeremy-rifkin";
repo = "libdwarf-lite";
rev = "v${finalAttrs.version}";
hash = "sha256-/E0aUVEhEy1v4wm2/t5wLck93Xb/RrKMIwqFYpi6BLA=";
};
outputs = [
"dev"
"lib"
"out"
];
nativeBuildInputs = [ cmake ];
cmakeFlags = [
(lib.cmakeBool "BUILD_DWARFDUMP" false)
(lib.cmakeBool "PIC_ALWAYS" true)
];
meta = {
description = "Minimal libdwarf mirror for faster cloning and configuration";
homepage = "https://github.com/jeremy-rifkin/libdwarf-lite";
license = lib.licenses.lgpl21Only;
maintainers = [ ];
mainProgram = "libdwarf-lite";
platforms = lib.platforms.all;
};
})
+10 -11
View File
@@ -8,21 +8,21 @@
capnproto,
doxygen,
flex,
libdwarf-lite,
pkg-config,
python3,
tbb_2021_11,
buildPackages,
nix-update-script,
}:
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "naja";
version = "0-unstable-2025-01-13";
version = "0.1.16";
src = fetchFromGitHub {
owner = "najaeda";
repo = "naja";
rev = "ffc29daa22e02565b2a0a108f8e65236cdee413a";
hash = "sha256-XGlgSUHSpHxNrms50pOQ9eoGZ6y79Rbm/sDYW2C4qsg=";
tag = "v${finalAttrs.version}";
hash = "sha256-MwMpxmmr8fJN49RkRguiEEwPVUIm+OcNFjEixpjn9UY=";
fetchSubmodules = true;
};
@@ -63,14 +63,11 @@ stdenv.mkDerivation {
boost
capnproto # cmake modules
flex # include dir
libdwarf-lite
tbb_2021_11
python3
];
cmakeFlags = [
(lib.cmakeBool "CPPTRACE_USE_EXTERNAL_LIBDWARF" true)
(lib.cmakeBool "CPPTRACE_USE_EXTERNAL_ZSTD" true)
# provide correct executables for cross
(lib.cmakeFeature "Python3_EXECUTABLE" (lib.getExe python3.pythonOnBuildForHost))
# TODO: remove these once capnp cross is fixed properly
@@ -78,12 +75,14 @@ stdenv.mkDerivation {
(lib.cmakeFeature "CAPNPC_CXX_EXECUTABLE" (lib.getExe' buildPackages.capnproto "capnpc-c++"))
];
doCheck = true;
postInstall = ''
moveToOutput lib/libnaja_bne.so $lib
'';
doCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Structural Netlist API (and more) for EDA post synthesis flow development";
homepage = "https://github.com/najaeda/naja";
@@ -92,4 +91,4 @@ stdenv.mkDerivation {
mainProgram = "naja_edit";
platforms = lib.platforms.all;
};
}
})
+1
View File
@@ -1028,6 +1028,7 @@ mapAliases {
libbitcoin-network = throw "libbitcoin-network has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
libbitcoin-protocol = throw "libbitcoin-protocol has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
libchop = throw "libchop has been removed due to failing to build and being unmaintained upstream"; # Added 2025-05-02
libdwarf-lite = throw "`libdwarf-lite` has been replaced by `libdwarf` as it's mostly a mirror"; # Added 2025-06-16
libdwg = throw "libdwg has been removed as upstream is unmaintained, the code doesn't build without significant patches, and the package had no reverse dependencies"; # Added 2024-12-28
libfpx = throw "libfpx has been removed as it was unmaintained in Nixpkgs and had known vulnerabilities"; # Added 2025-05-20
libgadu = throw "'libgadu' has been removed as upstream is unmaintained and has no dependents or maintainers in Nixpkgs"; # Added 2025-05-17