mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
libdwarf-lite: init at 0.10.1
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
This commit is contained in:
parent
b250bc0454
commit
fdfaaae011
39
pkgs/by-name/li/libdwarf-lite/package.nix
Normal file
39
pkgs/by-name/li/libdwarf-lite/package.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libdwarf-lite";
|
||||
version = "0.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jeremy-rifkin";
|
||||
repo = "libdwarf-lite";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-ouhYapiqBFPJwoUIyiuEtsezF2wR63WZL7VwvnDExoU=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user