3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #151556 from Stunkymonkey/cl-launch-refactor

cl-launch: refactor
This commit is contained in:
7c6f434c 2021-12-21 12:26:09 +00:00 committed by GitHub
commit ffe7a4989c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 25 deletions

View file

@ -1,22 +1,11 @@
{ lib, stdenv, fetchurl }:
let
s = # Generated upstream information
rec {
baseName="cl-launch";
stdenv.mkDerivation rec {
pname = "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;
url = "http://common-lisp.net/project/xcvb/cl-launch/cl-launch-${version}.tar.gz";
sha256 = "sha256-v5aURs2Verhn2HmGiijvY9br20OTPFrOGBWsb6cHhSQ=";
};
preConfigure = ''
@ -28,11 +17,10 @@ stdenv.mkDerivation {
sed -e 's/\t\t@/\t\t/g' -i Makefile
'';
meta = {
inherit (s) version;
meta = with lib; {
description = "Common Lisp launcher script";
license = lib.licenses.llgpl21 ;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.unix;
license = licenses.llgpl21;
maintainers = with maintainers; [ raskin ];
platforms = platforms.unix;
};
}

View file

@ -1,2 +0,0 @@
url http://common-lisp.net/project/xcvb/cl-launch/
version_link '.-[0-9].*[0-9][.]tar[.][a-z0-9]*$'