nauty: also install libs
This commit is contained in:
parent
8b4f885264
commit
2253b3e760
@ -6,13 +6,20 @@ stdenv.mkDerivation rec {
|
|||||||
url = "http://pallini.di.uniroma1.it/nauty${version}.tar.gz";
|
url = "http://pallini.di.uniroma1.it/nauty${version}.tar.gz";
|
||||||
sha256 = "05z6mk7c31j70md83396cdjmvzzip1hqb88pfszzc6k4gy8h3m2y";
|
sha256 = "05z6mk7c31j70md83396cdjmvzzip1hqb88pfszzc6k4gy8h3m2y";
|
||||||
};
|
};
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
buildInputs = [];
|
buildInputs = [];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out"/{bin,share/doc/nauty}
|
mkdir -p "$out"/{bin,share/doc/nauty} "$dev"/{lib,include/nauty}
|
||||||
|
|
||||||
cp $(find . -type f -perm -111 \! -name '*.*' ) "$out/bin"
|
find . -type f -perm -111 \! -name '*.*' \! -name configure -exec cp '{}' "$out/bin" \;
|
||||||
cp [Rr][Ee][Aa][Dd]* COPYRIGHT This* [Cc]hange* "$out/share/doc/nauty"
|
cp [Rr][Ee][Aa][Dd]* COPYRIGHT This* [Cc]hange* "$out/share/doc/nauty"
|
||||||
|
|
||||||
|
cp *.h $dev/include/nauty
|
||||||
|
for i in *.a; do
|
||||||
|
cp "$i" "$dev/lib/lib$i";
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
checkTarget = "checks";
|
||||||
meta = {
|
meta = {
|
||||||
inherit version;
|
inherit version;
|
||||||
description = ''Programs for computing automorphism groups of graphs and digraphs'';
|
description = ''Programs for computing automorphism groups of graphs and digraphs'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user