25 lines
606 B
Nix
25 lines
606 B
Nix
{ stdenv, fetchgit, pkgs }:
|
|
|
|
let
|
|
url = "https://git.fudo.org/fudo-public/backplane-dns.git";
|
|
version = "0.1";
|
|
|
|
in stdenv.mkDerivation {
|
|
name = "backplane-dns-${version}";
|
|
|
|
src = fetchgit {
|
|
url = url;
|
|
rev = "bfad36c9d223c7c8949fab50424c32a11164cd3a";
|
|
sha256 = "0s8g5cm9mdjr9wb8w6a8lc1dv5cg85hxp8bdcgr1xd6hs4fnr745";
|
|
fetchSubmodules = false;
|
|
};
|
|
|
|
phases = ["installPhase"];
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out/lib/common-lisp/backplane-dns"
|
|
cp "$src/backplane-dns.asd" "$out/lib/common-lisp/backplane-dns"
|
|
cp -R $src/*.lisp "$out/lib/common-lisp/backplane-dns"
|
|
'';
|
|
}
|