git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #45156 from markuskowa/lics-tools

Add license meta tags

commitd70d5751515e86e6ad476f257670ff81871531ee authorJörg Thalheim <Mic92@users.noreply.github.com> dateFri 17 Aug 2018, 00:31 (8 years ago) parent996e27581fcce7
14 files changed+46−25
lib/licenses.nix+5 pkgs/applications/version-management/cvs/default.nix+3−2 pkgs/development/tools/parsing/flex/2.5.35.nix+3−2 pkgs/development/tools/parsing/flex/2.6.1.nix+3−2 pkgs/development/tools/parsing/flex/default.nix+3−2 pkgs/os-specific/linux/atop/default.nix+4−3 pkgs/os-specific/linux/iotop/default.nix+5−3 pkgs/tools/misc/bc/default.nix+4−1 pkgs/tools/misc/fortune/default.nix+3−2 pkgs/tools/misc/grub/default.nix+3−2 pkgs/tools/misc/less/default.nix+4−3 pkgs/tools/networking/curl/7_59.nix+1 pkgs/tools/networking/curl/default.nix+2−1 pkgs/tools/text/diffutils/default.nix+3−2
lib/licenses.nix+5
@@ -210,6 +210,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
210210 fullName = "Common Public License 1.0";
211211 };
212212
213+ curl = {
214+ fullName = "MIT/X11 derivate";
215+ url = "https://curl.haxx.se/docs/copyright.html";
216+ };
217+
213218 doc = spdx {
214219 spdxId = "DOC";
215220 fullName = "DOC License";
pkgs/applications/version-management/cvs/default.nix+3−2
@@ -32,9 +32,10 @@ stdenv.mkDerivation {
3232
3333 doCheck = false; # fails 1 of 1 tests
3434
35− meta = {
35+ meta = with stdenv.lib; {
3636 homepage = http://cvs.nongnu.org;
3737 description = "Concurrent Versions System - a source control system";
38− platforms = stdenv.lib.platforms.all;
38+ license = licenses.gpl2; # library is GPLv2, main is GPLv1
39+ platforms = platforms.all;
3940 };
4041}
pkgs/development/tools/parsing/flex/2.5.35.nix+3−2
@@ -17,10 +17,11 @@ stdenv.mkDerivation rec {
1717 "ac_cv_func_realloc_0_nonnull=yes"
1818 ];
1919
20− meta = {
20+ meta = with stdenv.lib; {
2121 branch = "2.5.35";
2222 homepage = http://flex.sourceforge.net/;
2323 description = "A fast lexical analyser generator";
24− platforms = stdenv.lib.platforms.unix;
24+ license = licenses.bsd2;
25+ platforms = platforms.unix;
2526 };
2627}
pkgs/development/tools/parsing/flex/2.6.1.nix+3−2
@@ -26,9 +26,10 @@ stdenv.mkDerivation rec {
2626 substituteInPlace Makefile.in --replace "tests" " ";
2727 '';
2828
29− meta = {
29+ meta = with stdenv.lib; {
3030 homepage = https://github.com/westes/flex;
3131 description = "A fast lexical analyser generator";
32− platforms = stdenv.lib.platforms.unix;
32+ license = licenses.bsd2;
33+ platforms = platforms.unix;
3334 };
3435}
pkgs/development/tools/parsing/flex/default.nix+3−2
@@ -41,9 +41,10 @@ stdenv.mkDerivation rec {
4141
4242 dontDisableStatic = stdenv.buildPlatform != stdenv.hostPlatform;
4343
44− meta = {
44+ meta = with stdenv.lib; {
4545 homepage = https://github.com/westes/flex;
4646 description = "A fast lexical analyser generator";
47− platforms = stdenv.lib.platforms.unix;
47+ license = licenses.bsd2;
48+ platforms = platforms.unix;
4849 };
4950}
pkgs/os-specific/linux/atop/default.nix+4−3
@@ -33,15 +33,16 @@ stdenv.mkDerivation rec {
3333 make systemdinstall $makeFlags
3434 '';
3535
36− meta = {
37− platforms = stdenv.lib.platforms.linux;
38− maintainers = with stdenv.lib.maintainers; [raskin];
36+ meta = with stdenv.lib; {
37+ platforms = platforms.linux;
38+ maintainers = with maintainers; [ raskin ];
3939 description = ''Console system performance monitor'';
4040
4141 longDescription = ''
4242 Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded system resources by using colors, etc. At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks and network layers, and for every active process it shows the CPU utilization, memory growth, disk utilization, priority, username, state, and exit code.
4343 '';
4444 inherit version;
45+ license = licenses.gpl2;
4546 downloadPage = http://atoptool.nl/downloadatop.php;
4647 };
4748}
pkgs/os-specific/linux/iotop/default.nix+5−3
@@ -10,9 +10,11 @@ python2Packages.buildPythonApplication rec {
1010
1111 doCheck = false;
1212
13− meta = {
13+ meta = with stdenv.lib; {
1414 description = "A tool to find out the processes doing the most IO";
15− maintainers = [ stdenv.lib.maintainers.raskin ];
16− platforms = stdenv.lib.platforms.linux;
15+ homepage = http://guichaz.free.fr/iotop;
16+ license = licenses.gpl2;
17+ maintainers = [ maintainers.raskin ];
18+ platforms = platforms.linux;
1719 };
1820}
pkgs/tools/misc/bc/default.nix+4−1
@@ -1,4 +1,6 @@
1−{stdenv, autoreconfHook, buildPackages, fetchurl, flex, readline, ed, texinfo}:
1+{ stdenv, autoreconfHook, buildPackages
2+, fetchurl, flex, readline, ed, texinfo
3+}:
24
35stdenv.mkDerivation rec {
46 name = "bc-1.07.1";
@@ -31,6 +33,7 @@ stdenv.mkDerivation rec {
3133 meta = {
3234 description = "GNU software calculator";
3335 homepage = http://www.gnu.org/software/bc/;
36+ license = stdenv.lib.licenses.gpl3;
3437 platforms = stdenv.lib.platforms.all;
3538 };
3639}
pkgs/tools/misc/fortune/default.nix+3−2
@@ -23,8 +23,9 @@ stdenv.mkDerivation {
2323 rmdir $out/games
2424 '';
2525
26− meta = {
26+ meta = with stdenv.lib; {
2727 description = "A program that displays a pseudorandom message from a database of quotations";
28− platforms = stdenv.lib.platforms.unix;
28+ license = licenses.bsdOriginal;
29+ platforms = platforms.unix;
2930 };
3031}
pkgs/tools/misc/grub/default.nix+3−2
@@ -50,7 +50,8 @@ stdenv.mkDerivation {
5050
5151 passthru.grubTarget = "";
5252
53− meta = {
54− platforms = stdenv.lib.platforms.linux;
53+ meta = with stdenv.lib; {
54+ license = licenses.gpl2;
55+ platforms = platforms.linux;
5556 };
5657}
pkgs/tools/misc/less/default.nix+4−3
@@ -13,10 +13,11 @@ stdenv.mkDerivation rec {
1313
1414 buildInputs = [ ncurses ];
1515
16− meta = {
16+ meta = with stdenv.lib; {
1717 homepage = http://www.greenwoodsoftware.com/less/;
1818 description = "A more advanced file pager than ‘more’";
19− platforms = stdenv.lib.platforms.unix;
20− maintainers = [ stdenv.lib.maintainers.eelco ];
19+ platforms = platforms.unix;
20+ license = licenses.gpl3;
21+ maintainers = [ maintainers.eelco ];
2122 };
2223}
pkgs/tools/networking/curl/7_59.nix+1
@@ -101,6 +101,7 @@ stdenv.mkDerivation rec {
101101 description = "A command line tool for transferring files with URL syntax";
102102 homepage = https://curl.haxx.se/;
103103 maintainers = with maintainers; [ lovek323 ];
104+ license = licenses.curl;
104105 platforms = platforms.all;
105106 };
106107}
pkgs/tools/networking/curl/default.nix+2−1
@@ -105,6 +105,7 @@ stdenv.mkDerivation rec {
105105 description = "A command line tool for transferring files with URL syntax";
106106 homepage = https://curl.haxx.se/;
107107 maintainers = with maintainers; [ lovek323 ];
108− platforms = platforms.all;
108+ license = licenses.curl;
109+ platforms = platforms.all;
109110 };
110111}
pkgs/tools/text/diffutils/default.nix+3−2
@@ -20,9 +20,10 @@ stdenv.mkDerivation rec {
2020 stdenv.lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr"
2121 ++ stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "gl_cv_func_getopt_gnu=yes";
2222
23− meta = {
23+ meta = with stdenv.lib; {
2424 homepage = http://www.gnu.org/software/diffutils/diffutils.html;
2525 description = "Commands for showing the differences between files (diff, cmp, etc.)";
26− platforms = stdenv.lib.platforms.unix;
26+ license = licenses.gpl3;
27+ platforms = platforms.unix;
2728 };
2829}