2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2019-01-29 13:12:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "chelf";
|
2019-01-29 13:12:19 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-01-29 13:12:19 +00:00
|
|
|
description = "change or display the stack size of an ELF binary";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Gottox/chelf";
|
2019-01-29 13:12:19 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|