git.iko.soy/typeable/nixpkgs
on master help sign in
nauty: small refactoring
commit5880c449dde5eafe8d8412694312e11d34f73912 authorTimo Kaufmann <timokau@zoho.com> dateThu 4 Apr 2019, 14:48 (8 years ago) parent0f8bfed
1 file changed+9−6
pkgs/applications/science/math/nauty/default.nix+9−6
pkgs/applications/science/math/nauty/default.nix+9−6
@@ -1,4 +1,7 @@
1−{stdenv, fetchurl}:
1+{ stdenv
2+, lib
3+, fetchurl
4+}:
25stdenv.mkDerivation rec {
36 name = "nauty-${version}";
47 version = "26r11";
@@ -14,18 +17,18 @@ stdenv.mkDerivation rec {
1417 find . -type f -perm -111 \! -name '*.*' \! -name configure -exec cp '{}' "$out/bin" \;
1518 cp [Rr][Ee][Aa][Dd]* COPYRIGHT This* [Cc]hange* "$out/share/doc/nauty"
1619
17− cp *.h $dev/include/nauty
20+ cp *.h "$dev/include/nauty"
1821 for i in *.a; do
1922 cp "$i" "$dev/lib/lib$i";
2023 done
2124 '';
2225 checkTarget = "checks";
23− meta = {
26+ meta = with lib; {
2427 inherit version;
2528 description = ''Programs for computing automorphism groups of graphs and digraphs'';
26− license = stdenv.lib.licenses.asl20;
27− maintainers = [stdenv.lib.maintainers.raskin];
28− platforms = stdenv.lib.platforms.linux;
29+ license = licenses.asl20;
30+ maintainers = with maintainers; [ raskin ];
31+ platforms = platforms.linux;
2932 homepage = http://pallini.di.uniroma1.it/;
3033 };
3134}