asdf: refactor

main
Felix Buehler 3 years ago
parent 459f9fe2be
commit 31a706d0db
  1. 34
      pkgs/development/lisp-modules/asdf/2.26.nix
  2. 36
      pkgs/development/lisp-modules/asdf/3.1.nix
  3. 37
      pkgs/development/lisp-modules/asdf/default.nix
  4. 2
      pkgs/development/lisp-modules/asdf/default.upstream

@ -1,23 +1,19 @@
{lib, stdenv, fetchurl, texinfo, texLive, perl}:
let
s = # Generated upstream information
rec {
baseName="asdf";
version="2.26";
name="${baseName}-${version}";
url="http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz";
sha256="1qzp444rgnqf1cz9v48nh0yvz7wjq9fjdpimifsfcjswaqi2xrdn";
{ lib, stdenv, fetchurl, texinfo, texLive, perl }:
stdenv.mkDerivation rec {
pname = "asdf";
version = "2.26";
src = fetchurl {
url = "http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz";
sha256 = "sha256-tuUuIlZcS+a0izXeJl3Ckp+/PYAWkZ0+Cw7blwkh9+M=";
};
buildInputs = [
texinfo texLive perl
texinfo
texLive
perl
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
buildPhase = ''
make asdf.lisp
@ -31,11 +27,11 @@ stdenv.mkDerivation {
cp -r doc/* "$out"/share/doc/asdf/
ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop}
'';
meta = with lib; {
inherit (s) version;
description = "Standard software-system definition library for Common Lisp";
license = licenses.mit;
maintainers = [maintainers.raskin];
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
};
}

@ -1,23 +1,19 @@
{lib, stdenv, fetchurl, texinfo, texLive, perl}:
let
s = # Generated upstream information
rec {
baseName="asdf";
version="3.1.7";
name="${baseName}-${version}";
url="http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz";
sha256="1g8wp3vi7gwrs22gnjy9lvrxqag3m8apxnryfs8n5bv6rln8bzzq";
{ lib, stdenv, fetchurl, texinfo, texLive, perl }:
stdenv.mkDerivation rec {
pname = "asdf";
version = "3.1.7";
src = fetchurl {
url = "http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz";
sha256 = "sha256-+P+FLM1mr2KRdj7bfhWq4ync86bJS/uE0Jm/E/e4HL0=";
};
buildInputs = [
texinfo texLive perl
texinfo
texLive
perl
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
buildPhase = ''
make build/asdf.lisp
@ -30,11 +26,11 @@ stdenv.mkDerivation {
cp -r doc/* "$out"/share/doc/asdf/
ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop}
'';
meta = with lib; {
inherit (s) version;
description = "Standard software-system definition library for Common Lisp";
license = licenses.mit ;
maintainers = [maintainers.raskin];
license = licenses.mit;
maintainers = with maintainers; [ raskin ];
platforms = platforms.unix;
};
}

@ -1,24 +1,19 @@
{lib, stdenv, fetchurl, texinfo, texLive, perl}:
let
s = # Generated upstream information
rec {
baseName="asdf";
version="3.3.4";
name="${baseName}-${version}";
hash="07npcxgq2m07w78k8gnz9i73kbw6ky2zh2pylhh9b69jvncdqkpy";
url="http://common-lisp.net/project/asdf/archives/asdf-3.3.4.tar.gz";
sha256="07npcxgq2m07w78k8gnz9i73kbw6ky2zh2pylhh9b69jvncdqkpy";
{ lib, stdenv, fetchurl, texinfo, texLive, perl }:
stdenv.mkDerivation rec {
pname = "asdf";
version = "3.3.4";
src = fetchurl {
url = "http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz";
sha256 = "sha256-/k7cmN0ymZUgpP4K+IWfhq85TkzfPjTR4QdUgV9n1x4=";
};
buildInputs = [
texinfo texLive perl
texinfo
texLive
perl
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
buildPhase = ''
make build/asdf.lisp
@ -31,11 +26,11 @@ stdenv.mkDerivation {
cp -r doc/* "$out"/share/doc/asdf/
ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop}
'';
meta = with lib; {
inherit (s) version;
description = "Standard software-system definition library for Common Lisp";
license = licenses.mit ;
maintainers = [maintainers.raskin];
license = licenses.mit;
maintainers = with maintainers; [ raskin ];
platforms = platforms.unix;
};
}

@ -1,2 +0,0 @@
url http://common-lisp.net/project/asdf/archives/
version_link asdf-[0-9].*[.]tar[.].*
Loading…
Cancel
Save