Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 33 lines 861 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4}: 5 6stdenv.mkDerivation (finalAttrs: { 7 pname = "acr"; 8 version = "2.1.1"; 9 10 src = fetchFromGitHub { 11 owner = "radareorg"; 12 repo = "acr"; 13 rev = finalAttrs.version; 14 hash = "sha256-JReYgIqQISQuLPd4pUbqbKtBOXT0/YJCn9czz2VTVBs="; 15 }; 16 17 preConfigure = '' 18 chmod +x ./autogen.sh && ./autogen.sh 19 ''; 20 21 meta = { 22 homepage = "https://github.com/radareorg/acr/"; 23 description = "Pure shell autoconf replacement"; 24 longDescription = '' 25 ACR tries to replace autoconf functionality generating a full-compatible 26 'configure' script (runtime flags). But using shell-script instead of 27 m4. This means that ACR is faster, smaller and easy to use. 28 ''; 29 license = lib.licenses.gpl2Plus; 30 maintainers = with lib.maintainers; [ AndersonTorres ]; 31 platforms = lib.platforms.all; 32 }; 33})