diff options
author | Felix Buehler <account@buehler.rocks> | 2021-12-21 12:52:15 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-12-21 12:52:15 +0100 |
commit | 31a706d0db2bbf53b806010417fcfb04eccb2d95 (patch) | |
tree | a77dc71766846959f706cb9bffe3e04558b9b7de /pkgs/development/lisp-modules/asdf | |
parent | 459f9fe2bea3546a95002dcfe2aa55b1e4d6bef9 (diff) |
asdf: refactor
Diffstat (limited to 'pkgs/development/lisp-modules/asdf')
-rw-r--r-- | pkgs/development/lisp-modules/asdf/2.26.nix | 34 | ||||
-rw-r--r-- | pkgs/development/lisp-modules/asdf/3.1.nix | 36 | ||||
-rw-r--r-- | pkgs/development/lisp-modules/asdf/default.nix | 37 | ||||
-rw-r--r-- | pkgs/development/lisp-modules/asdf/default.upstream | 2 |
4 files changed, 47 insertions, 62 deletions
diff --git a/pkgs/development/lisp-modules/asdf/2.26.nix b/pkgs/development/lisp-modules/asdf/2.26.nix index e2f655a5b6ea4..05851777a7fe0 100644 --- a/pkgs/development/lisp-modules/asdf/2.26.nix +++ b/pkgs/development/lisp-modules/asdf/2.26.nix @@ -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; }; } diff --git a/pkgs/development/lisp-modules/asdf/3.1.nix b/pkgs/development/lisp-modules/asdf/3.1.nix index 7e697d3a63766..11cee90bf1fea 100644 --- a/pkgs/development/lisp-modules/asdf/3.1.nix +++ b/pkgs/development/lisp-modules/asdf/3.1.nix @@ -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; }; } diff --git a/pkgs/development/lisp-modules/asdf/default.nix b/pkgs/development/lisp-modules/asdf/default.nix index eecea3f98b636..d1b45cb32c33b 100644 --- a/pkgs/development/lisp-modules/asdf/default.nix +++ b/pkgs/development/lisp-modules/asdf/default.nix @@ -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; }; } diff --git a/pkgs/development/lisp-modules/asdf/default.upstream b/pkgs/development/lisp-modules/asdf/default.upstream deleted file mode 100644 index d8625182352f3..0000000000000 --- a/pkgs/development/lisp-modules/asdf/default.upstream +++ /dev/null @@ -1,2 +0,0 @@ -url http://common-lisp.net/project/asdf/archives/ -version_link asdf-[0-9].*[.]tar[.].* |