mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
c6fdf69d44
this will alow to build / use cl-launch on other platforms e.g. MacOS, FreeBSD
39 lines
920 B
Nix
39 lines
920 B
Nix
{stdenv, fetchurl}:
|
|
let
|
|
s = # Generated upstream information
|
|
rec {
|
|
baseName="cl-launch";
|
|
version="4.1.4.1";
|
|
name="${baseName}-${version}";
|
|
hash="09450yknzb0m3375lg4k8gdypmk3xwl8m1krv1kvhylmrm3995mz";
|
|
url="http://common-lisp.net/project/xcvb/cl-launch/cl-launch-4.1.4.1.tar.gz";
|
|
sha256="09450yknzb0m3375lg4k8gdypmk3xwl8m1krv1kvhylmrm3995mz";
|
|
};
|
|
buildInputs = [
|
|
];
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit (s) name version;
|
|
inherit buildInputs;
|
|
src = fetchurl {
|
|
inherit (s) url sha256;
|
|
};
|
|
|
|
preConfigure = ''
|
|
export makeFlags="$makeFlags PREFIX='$out'"
|
|
mkdir -p "$out/bin"
|
|
'';
|
|
|
|
preBuild = ''
|
|
sed -e 's/\t\t@/\t\t/g' -i Makefile
|
|
'';
|
|
|
|
meta = {
|
|
inherit (s) version;
|
|
description = ''Common Lisp launcher script'';
|
|
license = stdenv.lib.licenses.llgpl21 ;
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|