nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at netboot-syslinux-multiplatform 62 lines 1.4 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, curl 5, autoconf 6, automake 7, makeWrapper 8, sbcl 9}: 10 11stdenv.mkDerivation rec { 12 pname = "roswell"; 13 version = "22.12.14.113"; 14 15 src = fetchFromGitHub { 16 owner = "roswell"; 17 repo = pname; 18 rev = "v${version}"; 19 hash = "sha256-tNOkZcdjwvrsleWMtcQ76KMBnssnuYQU3gqXnBVPN6w="; 20 }; 21 22 patches = [ 23 # Load the name of the image from the environment variable so that 24 # it can be consistently overwritten. Using the command line 25 # argument in the wrapper did not work. 26 ./0001-get-image-from-environment.patch 27 ]; 28 29 preConfigure = '' 30 sh bootstrap 31 ''; 32 33 configureFlags = [ "--prefix=${placeholder "out"}" ]; 34 35 postInstall = '' 36 wrapProgram $out/bin/ros \ 37 --set image `basename $out` \ 38 --add-flags 'lisp=sbcl-bin/system sbcl-bin.version=system -L sbcl-bin' \ 39 --prefix PATH : ${lib.makeBinPath [ sbcl ]} --argv0 ros 40 ''; 41 42 nativeBuildInputs = [ 43 autoconf 44 automake 45 makeWrapper 46 ]; 47 48 buildInputs = [ 49 sbcl 50 curl 51 ]; 52 53 meta = with lib; { 54 description = "Lisp implementation installer/manager and launcher"; 55 license = licenses.mit; 56 maintainers = with maintainers; [ hiro98 ]; 57 platforms = platforms.unix; 58 homepage = "https://github.com/roswell/roswell"; 59 changelog = "https://github.com/roswell/roswell/blob/v${version}/ChangeLog"; 60 mainProgram = "ros"; 61 }; 62}