504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
26 lines
601 B
Nix
26 lines
601 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "chelf";
|
|
version = "0.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Gottox";
|
|
repo = "chelf";
|
|
rev = "v${version}";
|
|
sha256 = "0xwd84aynyqsi2kcndbff176vmhrak3jmn3lfcwya59653pppjr6";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
mv chelf $out/bin/chelf
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "change or display the stack size of an ELF binary";
|
|
homepage = "https://github.com/Gottox/chelf";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
mainProgram = "chelf";
|
|
};
|
|
}
|