diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/misc/cl-launch/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/misc/cl-launch/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/misc/cl-launch/default.nix b/nixpkgs/pkgs/development/tools/misc/cl-launch/default.nix new file mode 100644 index 000000000000..4fe93694ab77 --- /dev/null +++ b/nixpkgs/pkgs/development/tools/misc/cl-launch/default.nix @@ -0,0 +1,38 @@ +{lib, 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 = lib.licenses.llgpl21 ; + maintainers = [lib.maintainers.raskin]; + platforms = lib.platforms.unix; + }; +} |