diff --git a/pkgs/development/lisp-modules/asdf/2.26.nix b/pkgs/development/lisp-modules/asdf/2.26.nix index e2f655a5b6ea..05851777a7fe 100644 --- a/pkgs/development/lisp-modules/asdf/2.26.nix +++ b/pkgs/development/lisp-modules/asdf/2.26.nix @@ -1,24 +1,20 @@ -{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"; - }; - buildInputs = [ - texinfo texLive perl - ]; -in -stdenv.mkDerivation { - inherit (s) name version; - inherit buildInputs; +{ lib, stdenv, fetchurl, texinfo, texLive, perl }: + +stdenv.mkDerivation rec { + pname = "asdf"; + version = "2.26"; + src = fetchurl { - inherit (s) url sha256; + url = "http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz"; + sha256 = "sha256-tuUuIlZcS+a0izXeJl3Ckp+/PYAWkZ0+Cw7blwkh9+M="; }; + buildInputs = [ + texinfo + texLive + perl + ]; + buildPhase = '' make asdf.lisp mkdir build @@ -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 7e697d3a6376..11cee90bf1fe 100644 --- a/pkgs/development/lisp-modules/asdf/3.1.nix +++ b/pkgs/development/lisp-modules/asdf/3.1.nix @@ -1,24 +1,20 @@ -{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"; - }; - buildInputs = [ - texinfo texLive perl - ]; -in -stdenv.mkDerivation { - inherit (s) name version; - inherit buildInputs; +{ lib, stdenv, fetchurl, texinfo, texLive, perl }: + +stdenv.mkDerivation rec { + pname = "asdf"; + version = "3.1.7"; + src = fetchurl { - inherit (s) url sha256; + url = "http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz"; + sha256 = "sha256-+P+FLM1mr2KRdj7bfhWq4ync86bJS/uE0Jm/E/e4HL0="; }; + buildInputs = [ + texinfo + texLive + perl + ]; + buildPhase = '' make build/asdf.lisp make -C doc asdf.info asdf.html @@ -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 eecea3f98b63..d1b45cb32c33 100644 --- a/pkgs/development/lisp-modules/asdf/default.nix +++ b/pkgs/development/lisp-modules/asdf/default.nix @@ -1,25 +1,20 @@ -{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"; - }; - buildInputs = [ - texinfo texLive perl - ]; -in -stdenv.mkDerivation { - inherit (s) name version; - inherit buildInputs; +{ lib, stdenv, fetchurl, texinfo, texLive, perl }: + +stdenv.mkDerivation rec { + pname = "asdf"; + version = "3.3.4"; + src = fetchurl { - inherit (s) url sha256; + url = "http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz"; + sha256 = "sha256-/k7cmN0ymZUgpP4K+IWfhq85TkzfPjTR4QdUgV9n1x4="; }; + buildInputs = [ + texinfo + texLive + perl + ]; + buildPhase = '' make build/asdf.lisp make -C doc asdf.info asdf.html @@ -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 d8625182352f..000000000000 --- 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[.].*