From 04c276ac9c34ef9df9e2caff61b9252f09f5eb6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Ga=C5=82kowski?= Date: Wed, 1 Mar 2023 21:24:36 +0100 Subject: [PATCH] asdf_3_3: init at 3.3.6 --- pkgs/development/lisp-modules/asdf/3.3.nix | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/development/lisp-modules/asdf/3.3.nix diff --git a/pkgs/development/lisp-modules/asdf/3.3.nix b/pkgs/development/lisp-modules/asdf/3.3.nix new file mode 100644 index 00000000000..565fe45bdfc --- /dev/null +++ b/pkgs/development/lisp-modules/asdf/3.3.nix @@ -0,0 +1,37 @@ +{ lib, stdenv, fetchurl, texinfo, texLive, perl }: + +stdenv.mkDerivation rec { + pname = "asdf"; + version = "3.3.6"; + + src = fetchurl { + url = "http://common-lisp.net/project/asdf/archives/asdf-${version}.tar.gz"; + sha256 = "sha256-NkjvNlLqJnBAfOxC9ECTtmuS5K+0v5ZXOw2xt8l7vgk="; + }; + + strictDeps = true; + nativeBuildInputs = [ + texinfo + texLive + perl + ]; + + buildPhase = '' + make build/asdf.lisp + make -C doc asdf.info asdf.html + ''; + installPhase = '' + mkdir -p "$out"/lib/common-lisp/asdf/ + mkdir -p "$out"/share/doc/asdf/ + cp -r ./* "$out"/lib/common-lisp/asdf/ + cp -r doc/* "$out"/share/doc/asdf/ + ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop} + ''; + + meta = with lib; { + description = "Standard software-system definition library for Common Lisp"; + license = licenses.mit; + maintainers = with maintainers; [ raskin ]; + platforms = platforms.unix; + }; +}