mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
32 lines
634 B
Nix
32 lines
634 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "chelf";
|
|
version = "0.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Gottox";
|
|
repo = "chelf";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "0xwd84aynyqsi2kcndbff176vmhrak3jmn3lfcwya59653pppjr6";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
mv chelf $out/bin/chelf
|
|
'';
|
|
|
|
meta = {
|
|
description = "Change or display the stack size of an ELF binary";
|
|
homepage = "https://github.com/Gottox/chelf";
|
|
license = lib.licenses.bsd2;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = [ ];
|
|
mainProgram = "chelf";
|
|
};
|
|
})
|