Files
nixpkgs/pkgs/by-name/li/libelfin/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

38 lines
804 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
python3,
replaceVars,
}:
stdenv.mkDerivation rec {
pname = "libelfin";
version = "0.3-unstable-2024-03-11";
src = fetchFromGitHub {
owner = "aclements";
repo = "libelfin";
rev = "e0172767b79b76373044118ef0272b49b02a0894";
hash = "sha256-xb5/DM2XOFM/w71OwRC/sCRqOSQvxVL1SS2zj2+dD/U=";
};
patches = [
(replaceVars ./0001-Don-t-detect-package-version-with-Git.patch {
inherit version;
})
];
nativeBuildInputs = [ python3 ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = {
homepage = "https://github.com/aclements/libelfin/";
license = lib.licenses.mit;
description = "C++11 ELF/DWARF parser";
maintainers = with lib.maintainers; [ aleksana ];
platforms = lib.platforms.linux;
};
}