cl-launch: refactor
This commit is contained in:
parent
459f9fe2be
commit
b6bb8b9e3a
|
@ -1,22 +1,11 @@
|
|||
{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;
|
||||
{ lib, stdenv, fetchurl }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cl-launch";
|
||||
version = "4.1.4.1";
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
url http://common-lisp.net/project/xcvb/cl-launch/
|
||||
version_link '.-[0-9].*[0-9][.]tar[.][a-z0-9]*$'
|
Loading…
Reference in a new issue