Skip to content

Commit

Permalink
Merge pull request #45077 from markuskowa/licenses-c
Browse files Browse the repository at this point in the history
Add license meta tags
  • Loading branch information
xeji committed Aug 16, 2018
2 parents f207998 + 5c395d5 commit 4f9c7ea
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 19 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/libraries/cppunit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "1027cyfx5gsjkdkaf6c2wnjh68882grw8n672018cj3vs9lrhmix";
};

meta = {
meta = with stdenv.lib; {
homepage = https://freedesktop.org/wiki/Software/cppunit/;
description = "C++ unit testing framework";
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
license = licenses.lgpl21;
platforms = platforms.linux ++ platforms.darwin;
};
}
1 change: 1 addition & 0 deletions pkgs/development/libraries/cracklib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://github.com/cracklib/cracklib;
description = "A library for checking the strength of passwords";
license = licenses.lgpl21; # Different license for the wordlist: http://www.openwall.com/wordlists
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
Expand Down
6 changes: 4 additions & 2 deletions pkgs/os-specific/linux/cpufrequtils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ stdenv.mkDerivation rec {

buildInputs = [ stdenv.cc.libc.linuxHeaders libtool gettext ];

meta = {
meta = with stdenv.lib; {
description = "Tools to display or change the CPU governor settings";
platforms = stdenv.lib.platforms.linux;
homepage = http://ftp.be.debian.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html;
license = licenses.gpl2;
platforms = platforms.linux;
};
}
7 changes: 5 additions & 2 deletions pkgs/os-specific/linux/cramfsswap/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ stdenv.mkDerivation {

buildInputs = [zlib];

meta = {
platforms = stdenv.lib.platforms.linux;
meta = with stdenv.lib; {
description = "swap endianess of a cram filesystem (cramfs)";
homepage = "https://packages.debian.org/sid/utils/cramfsswap";
license = licenses.gpl2;
platforms = platforms.linux;
};
}
5 changes: 3 additions & 2 deletions pkgs/tools/archivers/cpio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ in stdenv.mkDerivation {

enableParallelBuilding = true;

meta = {
meta = with stdenv.lib; {
homepage = http://www.gnu.org/software/cpio/;
description = "A program to create or extract from cpio archives";
platforms = stdenv.lib.platforms.all;
license = licenses.gpl3;
platforms = platforms.all;
priority = 6; # resolves collision with gnutar's "libexec/rmt"
};
}
7 changes: 4 additions & 3 deletions pkgs/tools/archivers/cromfs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ fuse perl ];

meta = {
meta = with stdenv.lib; {
description = "FUSE Compressed ROM filesystem with lzma";
homepage = https://bisqwit.iki.fi/source/cromfs.html;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
license = licenses.gpl3;
maintainers = [ maintainers.viric ];
platforms = platforms.linux;
};
}
9 changes: 5 additions & 4 deletions pkgs/tools/misc/cowsay/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ stdenv.mkDerivation {
bash ./install.sh $out
'';

meta = {
meta = with stdenv.lib; {
description = "A program which generates ASCII pictures of a cow with a message";
homepage = http://www.nog.net/~tony/warez/cowsay.shtml;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.rob ];
homepage = https://en.wikipedia.org/wiki/Cowsay;
license = licenses.gpl1;
platforms = platforms.all;
maintainers = [ maintainers.rob ];
};
}
7 changes: 4 additions & 3 deletions pkgs/tools/system/cron/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ stdenv.mkDerivation {
hardeningEnable = [ "pie" ];

preBuild = ''
# do not set sticky bit in /nix/store
# do not set sticky bit in /nix/store
substituteInPlace Makefile --replace ' -o root' ' ' --replace 111 755 --replace 4755 0755
# do not strip during install, broken on cross and we'll do ourselves as needed
substituteInPlace Makefile --replace ' -s cron' ' cron'
Expand All @@ -36,8 +36,9 @@ stdenv.mkDerivation {

preInstall = "mkdir -p $out/bin $out/sbin $out/share/man/man1 $out/share/man/man5 $out/share/man/man8";

meta = {
meta = with stdenv.lib; {
description = "Daemon for running commands at specific times (Vixie Cron)";
platforms = with stdenv.lib.platforms; linux ++ darwin;
license = licenses.bsd0;
platforms = with platforms; linux ++ darwin;
};
}
6 changes: 5 additions & 1 deletion pkgs/tools/virtualization/cri-tools/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ buildGoPackage, fetchurl }:
{ buildGoPackage, fetchurl, lib }:

buildGoPackage
{ name = "cri-tools-1.0.0-alpha.0";
Expand All @@ -10,6 +10,10 @@ buildGoPackage
goPackagePath = "github.com/kubernetes-incubator/cri-tools";
subPackages = [ "cmd/crictl" "cmd/critest" ];

meta = {
license = lib.licenses.asl20;
};

goDeps = ./deps.nix;
}

0 comments on commit 4f9c7ea

Please sign in to comment.