mirror of
https://github.com/beta-nu-theta-chi/big-brother-tree.git
synced 2025-12-01 00:24:47 +00:00
22 lines
412 B
Nix
Executable File
22 lines
412 B
Nix
Executable File
{ stdenv, graphviz-nox, ... }:
|
|
stdenv.mkDerivation {
|
|
pname = "BetaNuTree";
|
|
version = "0.0.1";
|
|
|
|
src = ./../src;
|
|
|
|
nativeBuildInputs = [
|
|
graphviz-nox
|
|
];
|
|
|
|
buildPhase = ''
|
|
dot -Tpdf brotherhood.dot > brotherhood.pdf
|
|
dot -Tsvg brotherhood.dot > brotherhood.svg
|
|
dot -Tpng brotherhood.dot > brotherhood.png
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -r *.pdf *.svg *.png $out
|
|
'';
|
|
} |