3
0
Fork 0
forked from mirrors/nixpkgs

ghc: add meta.license attribute to all compiler versions

This commit is contained in:
Peter Simons 2013-03-23 13:05:43 +01:00
parent 573e61ea6f
commit 83d0a3a37c
27 changed files with 27 additions and 21 deletions

View file

@ -98,5 +98,6 @@ stdenv.mkDerivation rec {
[ $(./main) == "yes" ] [ $(./main) == "yes" ]
''; '';
meta.license = stdenv.lib.licenses.bsd3;
meta.platforms = ["i686-darwin" "x86_64-linux" "i686-linux"]; meta.platforms = ["i686-darwin" "x86_64-linux" "i686-linux"];
} }

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
inherit homepage; inherit homepage;
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };

View file

@ -97,5 +97,6 @@ stdenv.mkDerivation rec {
[ $(./main) == "yes" ] [ $(./main) == "yes" ]
''; '';
meta.license = stdenv.lib.licenses.bsd3;
meta.platforms = ["x86_64-linux" "i686-linux"]; meta.platforms = ["x86_64-linux" "i686-linux"];
} }

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
inherit homepage; inherit homepage;
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
passthru = { passthru = {

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
inherit homepage; inherit homepage;
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
inherit homepage; inherit homepage;
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
passthru = { passthru = {

View file

@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
meta = { meta = {
inherit homepage; inherit homepage;
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
} }

View file

@ -99,5 +99,6 @@ stdenv.mkDerivation rec {
[ $(./main) == "yes" ] [ $(./main) == "yes" ]
''; '';
meta.license = stdenv.lib.licenses.bsd3;
meta.platforms = ["x86_64-linux" "i686-linux"]; meta.platforms = ["x86_64-linux" "i686-linux"];
} }

View file

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
# TODO: requires a comment as to what it does and why it is needed. # TODO: requires a comment as to what it does and why it is needed.

View file

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
# TODO: requires a comment as to what it does and why it is needed. # TODO: requires a comment as to what it does and why it is needed.

View file

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
# TODO: requires a comment as to what it does and why it is needed. # TODO: requires a comment as to what it does and why it is needed.

View file

@ -62,5 +62,6 @@ stdenv.mkDerivation {
'' else ""; '' else "";
meta.license = stdenv.lib.licenses.bsd3;
meta.platforms = ["i686-darwin" "x86_64-linux" "i686-linux"]; meta.platforms = ["i686-darwin" "x86_64-linux" "i686-linux"];
} }

View file

@ -23,6 +23,6 @@ stdenv.mkDerivation {
meta = { meta = {
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
} }

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation (rec {
meta = { meta = {
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
postInstall = '' postInstall = ''

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation (rec {
meta = { meta = {
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
configureFlags=[ configureFlags=[

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "The Glasgow Haskell Compiler"; description = "The Glasgow Haskell Compiler";
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
configureFlags=[ configureFlags=[

View file

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
# TODO: requires a comment as to what it does and why it is needed. # TODO: requires a comment as to what it does and why it is needed.

View file

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
} }

View file

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.marcweber
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
} }

View file

@ -87,5 +87,6 @@ stdenv.mkDerivation rec {
[ $(./main) == "yes" ] [ $(./main) == "yes" ]
''; '';
meta.license = stdenv.lib.licenses.bsd3;
meta.platforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"]; meta.platforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"];
} }

View file

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
stdenv.lib.maintainers.simons stdenv.lib.maintainers.simons
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
} }

View file

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
stdenv.lib.maintainers.simons stdenv.lib.maintainers.simons
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
} }

View file

@ -87,5 +87,6 @@ stdenv.mkDerivation rec {
[ $(./main) == "yes" ] [ $(./main) == "yes" ]
''; '';
meta.license = stdenv.lib.licenses.bsd3;
meta.platforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"]; meta.platforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"];
} }

View file

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
stdenv.lib.maintainers.simons stdenv.lib.maintainers.simons
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
} }

View file

@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
stdenv.lib.maintainers.simons stdenv.lib.maintainers.simons
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
} }

View file

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
stdenv.lib.maintainers.simons stdenv.lib.maintainers.simons
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
} }

View file

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
stdenv.lib.maintainers.andres stdenv.lib.maintainers.andres
stdenv.lib.maintainers.simons stdenv.lib.maintainers.simons
]; ];
platforms = ghc.meta.platforms; inherit (ghc.meta) license platforms;
}; };
} }