Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 608 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "chelf"; 9 version = "0.2.2"; 10 11 src = fetchFromGitHub { 12 owner = "Gottox"; 13 repo = "chelf"; 14 rev = "v${version}"; 15 sha256 = "0xwd84aynyqsi2kcndbff176vmhrak3jmn3lfcwya59653pppjr6"; 16 }; 17 18 installPhase = '' 19 mkdir -p $out/bin 20 mv chelf $out/bin/chelf 21 ''; 22 23 meta = with lib; { 24 description = "Change or display the stack size of an ELF binary"; 25 homepage = "https://github.com/Gottox/chelf"; 26 license = licenses.bsd2; 27 maintainers = with maintainers; [ dtzWill ]; 28 mainProgram = "chelf"; 29 }; 30}