nauty: small refactoring
This commit is contained in:
parent
0f8bfede94
commit
5880c449dd
@ -1,4 +1,7 @@
|
|||||||
{stdenv, fetchurl}:
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchurl
|
||||||
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nauty-${version}";
|
name = "nauty-${version}";
|
||||||
version = "26r11";
|
version = "26r11";
|
||||||
@ -14,18 +17,18 @@ stdenv.mkDerivation rec {
|
|||||||
find . -type f -perm -111 \! -name '*.*' \! -name configure -exec cp '{}' "$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
|
cp *.h "$dev/include/nauty"
|
||||||
for i in *.a; do
|
for i in *.a; do
|
||||||
cp "$i" "$dev/lib/lib$i";
|
cp "$i" "$dev/lib/lib$i";
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
checkTarget = "checks";
|
checkTarget = "checks";
|
||||||
meta = {
|
meta = with lib; {
|
||||||
inherit version;
|
inherit version;
|
||||||
description = ''Programs for computing automorphism groups of graphs and digraphs'';
|
description = ''Programs for computing automorphism groups of graphs and digraphs'';
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [stdenv.lib.maintainers.raskin];
|
maintainers = with maintainers; [ raskin ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
homepage = http://pallini.di.uniroma1.it/;
|
homepage = http://pallini.di.uniroma1.it/;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user