3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/cl-launch/default.nix
2015-05-10 13:36:46 +03:00

39 lines
921 B
Nix

{stdenv, fetchurl}:
let
s = # Generated upstream information
rec {
baseName="cl-launch";
version="4.1.3.1";
name="${baseName}-${version}";
hash="0l5iwffrzmaxbpfh2h5y8lz6yap3q8xi14z080lhl193p8f3rk0z";
url="http://common-lisp.net/project/xcvb/cl-launch/cl-launch-4.1.3.1.tar.gz";
sha256="0l5iwffrzmaxbpfh2h5y8lz6yap3q8xi14z080lhl193p8f3rk0z";
};
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.linux;
};
}