2021-12-24 04:21:11 +00:00
|
|
|
{ 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=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-12-24 04:21:11 +00:00
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
2021-12-24 04:21:11 +00:00
|
|
|
texinfo
|
|
|
|
texLive
|
|
|
|
perl
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
make asdf.lisp
|
|
|
|
mkdir build
|
|
|
|
ln -s ../asdf.lisp build
|
|
|
|
'';
|
|
|
|
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}
|
|
|
|
'';
|
2021-12-24 04:21:11 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-17 00:15:33 +00:00
|
|
|
description = "Standard software-system definition library for Common Lisp";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = licenses.mit;
|
2021-12-24 04:21:11 +00:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|