From fd59d5642e4c140820410dc13fd0dd646fc785de Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:11:27 +0200 Subject: [PATCH 01/15] pigz: add license --- pkgs/tools/compression/pigz/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/compression/pigz/default.nix b/pkgs/tools/compression/pigz/default.nix index a2668f73ceb2..7d4cdc2df86d 100644 --- a/pkgs/tools/compression/pigz/default.nix +++ b/pkgs/tools/compression/pigz/default.nix @@ -28,9 +28,10 @@ stdenv.mkDerivation { install -Dm755 pigz.pdf "$out/share/doc/pigz/pigz.pdf" ''; - meta = { + meta = with stdenv.lib; { homepage = http://www.zlib.net/pigz/; description = "A parallel implementation of gzip for multi-core machines"; - platforms = stdenv.lib.platforms.unix; + license = licenses.zlib; + platforms = platforms.unix; }; } From 1e98674c792f3c6e82c44f0b1410e5b317b25e4a Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:13:59 +0200 Subject: [PATCH 02/15] zdelta: add license --- pkgs/tools/compression/zdelta/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/compression/zdelta/default.nix b/pkgs/tools/compression/zdelta/default.nix index 01050c5ee821..20748c31ab81 100644 --- a/pkgs/tools/compression/zdelta/default.nix +++ b/pkgs/tools/compression/zdelta/default.nix @@ -8,8 +8,9 @@ stdenv.mkDerivation rec { sha256 = "0k6y0r9kv5qiglnr2j4a0yvfynjkvm0pyv8ly28j0pr3w6rbxrh3"; }; - meta = { + meta = with stdenv.lib; { homepage = http://cis.poly.edu/zdelta; - platforms = stdenv.lib.platforms.linux; + platforms = platforms.linux; + license = licenses.zlib; }; } From 735a7de05164ce5238261f5fbb625fb5a109debc Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:15:14 +0200 Subject: [PATCH 03/15] bashmount: add license --- pkgs/tools/filesystems/bashmount/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/filesystems/bashmount/default.nix b/pkgs/tools/filesystems/bashmount/default.nix index 579258f63f98..cd0f3ea23229 100644 --- a/pkgs/tools/filesystems/bashmount/default.nix +++ b/pkgs/tools/filesystems/bashmount/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { homepage = https://github.com/jamielinux/bashmount; description = "A menu-driven bash script for the management of removable media with udisks"; maintainers = [ maintainers.koral ]; + license = licenses.gpl2; platforms = platforms.all; }; } From 8060dadf69b99305d9f723894303d825a604a722 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:17:34 +0200 Subject: [PATCH 04/15] curlftpfs: update meta data --- pkgs/tools/filesystems/curlftpfs/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/curlftpfs/default.nix b/pkgs/tools/filesystems/curlftpfs/default.nix index 4af7c9fb8c26..5636909093e6 100644 --- a/pkgs/tools/filesystems/curlftpfs/default.nix +++ b/pkgs/tools/filesystems/curlftpfs/default.nix @@ -11,7 +11,11 @@ stdenv.mkDerivation { doCheck = false; # fails, doesn't work well too, btw - meta = { - platforms = stdenv.lib.platforms.linux; + meta = with stdenv.lib; { + description = "Filesystem for accessing FTP hosts based on FUSE and libcurl"; + homepage = http://curlftpfs.sourceforge.net; + license = licenses.gpl2; + platforms = platforms.linux; + }; } From 5f2d66ccc6e39cb0fee97b94b915d4e8e59b35ca Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:19:35 +0200 Subject: [PATCH 05/15] fatresize: add license --- pkgs/tools/filesystems/fatresize/default.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/filesystems/fatresize/default.nix b/pkgs/tools/filesystems/fatresize/default.nix index 9af14b051261..7bb5dd415a6a 100644 --- a/pkgs/tools/filesystems/fatresize/default.nix +++ b/pkgs/tools/filesystems/fatresize/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, parted, utillinux }: stdenv.mkDerivation rec { - + version = "1.0.2"; name = "fatresize-${version}"; @@ -9,31 +9,32 @@ stdenv.mkDerivation rec { url = "mirror://sourceforge/fatresize/fatresize-${version}.tar.bz2"; sha256 = "04wp48jpdvq4nn0dgbw5za07g842rnxlh9mig4mslz70zqs0izjm"; }; - + buildInputs = [ parted utillinux ]; - + # This patch helps this unmantained piece of software to be built against recent parted # It basically modifies the detection scheme for parted version (the current one has no micro version defined) # The second change is to include a header for a moved function since 1.6+ to current 3.1+ parted # The third change is to modify the call to PED_ASSERT that is no longer defined with 2 params patches = [ ./fatresize_parted_nix.patch ]; - + preConfigure = '' echo "Replacing calls to ped_free with free ..." substituteInPlace ./fatresize.c --replace ped_free free ''; - + # Filesystem resize functions were reintroduced in parted 3.1 due to no other available free alternatives # but in a sepparate library -> libparted-fs-resize --- that's why the added LDFLAG makeFlags = '' LDFLAGS=-lparted-fs-resize ''; - + propagatedBuildInputs = [ parted utillinux ]; - - meta = { + + meta = with stdenv.lib; { description = "The FAT16/FAT32 non-destructive resizer"; homepage = https://sourceforge.net/projects/fatresize; - platforms = stdenv.lib.platforms.linux; + platforms = platforms.linux; + license = licenses.gpl2; }; } From 4516ca5480dc19bd41ea88b34a8dfa24034ea59d Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:22:13 +0200 Subject: [PATCH 06/15] jfsutils: add license + homepage --- pkgs/tools/filesystems/jfsutils/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/jfsutils/default.nix b/pkgs/tools/filesystems/jfsutils/default.nix index 244f3e294a86..acc7a91d93f5 100644 --- a/pkgs/tools/filesystems/jfsutils/default.nix +++ b/pkgs/tools/filesystems/jfsutils/default.nix @@ -12,8 +12,10 @@ stdenv.mkDerivation rec { buildInputs = [ libuuid ]; - meta = { + meta = with stdenv.lib; { description = "IBM JFS utilities"; - platforms = stdenv.lib.platforms.linux; + homepage = http://jfs.sourceforge.net; + license = licenses.gpl3; + platforms = platforms.linux; }; } From 4f83467ba42b00714f317fd56987fbc6a38b96a1 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:23:41 +0200 Subject: [PATCH 07/15] mtools: add license --- pkgs/tools/filesystems/mtools/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/filesystems/mtools/default.nix b/pkgs/tools/filesystems/mtools/default.nix index e7a9963f6501..f153e59019e3 100644 --- a/pkgs/tools/filesystems/mtools/default.nix +++ b/pkgs/tools/filesystems/mtools/default.nix @@ -17,10 +17,10 @@ stdenv.mkDerivation rec { doCheck = true; - meta = { + meta = with stdenv.lib; { homepage = http://www.gnu.org/software/mtools/; description = "Utilities to access MS-DOS disks"; - platforms = stdenv.lib.platforms.unix; - maintainers = [ ]; + platforms = platforms.unix; + license = licenses.gpl3; }; } From d3485885b208c6992d3c318a723716196ac26145 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:25:24 +0200 Subject: [PATCH 08/15] mtpfs: add licenses --- pkgs/tools/filesystems/mtpfs/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/filesystems/mtpfs/default.nix b/pkgs/tools/filesystems/mtpfs/default.nix index afe51caa8772..bf048113714f 100644 --- a/pkgs/tools/filesystems/mtpfs/default.nix +++ b/pkgs/tools/filesystems/mtpfs/default.nix @@ -18,10 +18,11 @@ stdenv.mkDerivation rec { sha256 = "07acrqb17kpif2xcsqfqh5j4axvsa4rnh6xwnpqab5b9w5ykbbqv"; }; - meta = { + meta = with stdenv.lib; { homepage = https://github.com/cjd/mtpfs; description = "FUSE Filesystem providing access to MTP devices"; - platforms = stdenv.lib.platforms.all; - maintainers = [ stdenv.lib.maintainers.qknight ]; + platforms = platforms.all; + license = licenses.gpl3; + maintainers = [ maintainers.qknight ]; }; } From aae4e1ddc20bc30a395198cad44859bc367d8284 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:29:04 +0200 Subject: [PATCH 09/15] nilfs-utils: add licenses --- pkgs/tools/filesystems/nilfs-utils/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/filesystems/nilfs-utils/default.nix b/pkgs/tools/filesystems/nilfs-utils/default.nix index 6b56a8aadfa0..eccd72ceb238 100644 --- a/pkgs/tools/filesystems/nilfs-utils/default.nix +++ b/pkgs/tools/filesystems/nilfs-utils/default.nix @@ -46,14 +46,11 @@ stdenv.mkDerivation rec { find . -name .libs | xargs rm -rf ''; - meta = { + meta = with stdenv.lib; { description = "NILFS utilities"; - maintainers = with stdenv.lib.maintainers; - [ - raskin - ]; - platforms = with stdenv.lib.platforms; - linux; + maintainers = [ maintainers.raskin ]; + platforms = platforms.linux; + license = with licenses; [ gpl2 lgpl21 ]; downloadPage = "http://nilfs.sourceforge.net/en/download.html"; updateWalker = true; }; From fa6bfc59746533c559382218c99e264a97c98120 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:32:12 +0200 Subject: [PATCH 10/15] reiser4progs: add license, update homepage --- pkgs/tools/filesystems/reiser4progs/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/filesystems/reiser4progs/default.nix b/pkgs/tools/filesystems/reiser4progs/default.nix index 59d8e8aa4389..967a8ee43bef 100644 --- a/pkgs/tools/filesystems/reiser4progs/default.nix +++ b/pkgs/tools/filesystems/reiser4progs/default.nix @@ -21,10 +21,11 @@ stdenv.mkDerivation rec { substituteInPlace Makefile --replace ./run-ldconfig true ''; - meta = { + meta = with stdenv.lib; { inherit version; - homepage = http://www.namesys.com/; + homepage = https://sourceforge.net/projects/reiser4/; description = "Reiser4 utilities"; - platforms = stdenv.lib.platforms.linux; + license = licenses.gpl2; + platforms = platforms.linux; }; } From 9a46c0f384fc2025d69cea4ab2ea4a3625738710 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:34:31 +0200 Subject: [PATCH 11/15] relfs: add license --- pkgs/tools/filesystems/relfs/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/filesystems/relfs/default.nix b/pkgs/tools/filesystems/relfs/default.nix index 9a8c3ecb0fc8..04a15dfa22be 100644 --- a/pkgs/tools/filesystems/relfs/default.nix +++ b/pkgs/tools/filesystems/relfs/default.nix @@ -40,10 +40,12 @@ stdenv.mkDerivation rec { chmod a+x \$out/bin/relfs_grant; ''; - meta = { + meta = with stdenv.lib; { description = "A relational filesystem on top of FUSE"; - maintainers = [stdenv.lib.maintainers.raskin]; - platforms = stdenv.lib.platforms.linux; + homepage = http://relfs.sourceforge.net; + license = licenses.gpl2; + maintainers = [ maintainers.raskin ]; + platforms = platforms.linux; broken = true; }; } From 0f61edc465a643d48471a0b96b362694419f3ecb Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:38:03 +0200 Subject: [PATCH 12/15] wfds: add license --- pkgs/tools/filesystems/wdfs/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/wdfs/default.nix b/pkgs/tools/filesystems/wdfs/default.nix index dc725b5078f0..135373e09f42 100644 --- a/pkgs/tools/filesystems/wdfs/default.nix +++ b/pkgs/tools/filesystems/wdfs/default.nix @@ -9,9 +9,11 @@ stdenv.mkDerivation rec }; nativeBuildInputs = [ pkgconfig ]; buildInputs = [fuse glib neon]; - meta = { + + meta = with stdenv.lib; { homepage = http://noedler.de/projekte/wdfs/; + license = licenses.gpl2; description = "User-space filesystem that allows to mount a webdav share"; - platforms = stdenv.lib.platforms.linux; + platforms = platforms.linux; }; } From f92f9a2b6f2883f446f8582403819c5ccde1f1a0 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:39:15 +0200 Subject: [PATCH 13/15] bchunk: add license --- pkgs/tools/cd-dvd/bchunk/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/cd-dvd/bchunk/default.nix b/pkgs/tools/cd-dvd/bchunk/default.nix index 6828ef7d61d3..aa47edcb96c4 100644 --- a/pkgs/tools/cd-dvd/bchunk/default.nix +++ b/pkgs/tools/cd-dvd/bchunk/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { homepage = http://he.fi/bchunk/; description = "A program that converts CD images in BIN/CUE format into a set of ISO and CDR tracks"; platforms = platforms.unix; + license = licenses.gpl2; }; } From e016d1eabb34e83bf5dbd845bbb516e02aaf074e Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:40:38 +0200 Subject: [PATCH 14/15] cdrdao: add license --- pkgs/tools/cd-dvd/cdrdao/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/cd-dvd/cdrdao/default.nix b/pkgs/tools/cd-dvd/cdrdao/default.nix index 25d94593f5ef..a17b03025032 100644 --- a/pkgs/tools/cd-dvd/cdrdao/default.nix +++ b/pkgs/tools/cd-dvd/cdrdao/default.nix @@ -28,9 +28,10 @@ stdenv.mkDerivation { # Needed on gcc >= 6. NIX_CFLAGS_COMPILE = "-Wno-narrowing"; - meta = { + meta = with stdenv.lib; { description = "A tool for recording audio or data CD-Rs in disk-at-once (DAO) mode"; homepage = http://cdrdao.sourceforge.net/; - platforms = stdenv.lib.platforms.linux; + platforms = platforms.linux; + license = licenses.gpl2; }; } From 0bdf24f9a50df8c5328b22f454df8bdab2c80b72 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 7 Sep 2018 22:43:36 +0200 Subject: [PATCH 15/15] lsdvd: add license --- pkgs/tools/cd-dvd/lsdvd/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/cd-dvd/lsdvd/default.nix b/pkgs/tools/cd-dvd/lsdvd/default.nix index 6a3f92a57c2d..56ec8e19f54e 100644 --- a/pkgs/tools/cd-dvd/lsdvd/default.nix +++ b/pkgs/tools/cd-dvd/lsdvd/default.nix @@ -13,9 +13,10 @@ stdenv.mkDerivation { buildInputs = [ libdvdread ]; nativeBuildInputs = [ pkgconfig ]; - meta = { + meta = with stdenv.lib; { homepage = https://sourceforge.net/projects/lsdvd/; description = "Display information about audio, video, and subtitle tracks on a DVD"; - platforms = stdenv.lib.platforms.linux; + license = licenses.gpl2; + platforms = platforms.linux; }; }