Skip to content

Commit

Permalink
Merge pull request #295997 from jopejoe1/license/remove-generic-free
Browse files Browse the repository at this point in the history
treewide: change some generic free to specific license part 2
  • Loading branch information
a-n-n-a-l-e-e authored Mar 20, 2024
2 parents 8d82b50 + 3c57e34 commit d0620a1
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 14 deletions.
15 changes: 15 additions & 0 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,11 @@ in mkLicense lset) ({
url = "https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception";
};

giftware = {
spdxId = "Giftware";
fullName = "Giftware License";
};

hpnd = {
spdxId = "HPND";
fullName = "Historic Permission Notice and Disclaimer";
Expand All @@ -609,6 +614,11 @@ in mkLicense lset) ({
spdxId = "HPND-sell-variant";
};

hpndUc = {
spdxId = "HPND-UC";
fullName = "Historical Permission Notice and Disclaimer - University of California variant";
};

# Intel's license, seems free
iasl = {
spdxId = "Intel-ACPI";
Expand Down Expand Up @@ -894,6 +904,11 @@ in mkLicense lset) ({
url = "https://raw.githubusercontent.com/netdata/netdata/master/web/gui/v2/LICENSE.md";
};

nistSoftware = {
spdxId = "NIST-Software";
fullName = "NIST Software License";
};

nlpl = {
spdxId = "NLPL";
fullName = "No Limit Public License";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/science/biology/conglomerate/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ stdenv.mkDerivation rec {
description = "More command-line utilities for working with MINC files";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.free;
license = licenses.hpndUc;
};
}
3 changes: 2 additions & 1 deletion pkgs/by-name/al/alephone-apotheosis-x/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ alephone, requireFile }:
{ lib, alephone, requireFile }:

alephone.makeWrapper rec {
pname = "apotheosis-x";
Expand All @@ -16,5 +16,6 @@ alephone.makeWrapper rec {
meta = {
description = "Total conversion for Marathon Infinity running on the Aleph One engine";
homepage = "https://simplici7y.com/items/apotheosis-x-5";
license = lib.licenses.unfree;
};
}
2 changes: 1 addition & 1 deletion pkgs/data/fonts/babelstone-han/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation {
description = "Unicode CJK font with over 36000 Han characters";
homepage = "https://www.babelstone.co.uk/Fonts/Han.html";

license = licenses.free;
license = licenses.arphicpl;
platforms = platforms.all;
maintainers = with maintainers; [ emily ];
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/data/fonts/bront/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ stdenvNoCC.mkDerivation {
description = "Bront Fonts";
longDescription = "Ubuntu Mono Bront and DejaVu Sans Mono Bront fonts.";
homepage = "https://github.com/chrismwendt/bront";
license = licenses.free;
license = with licenses; [ bitstreamVera ufl ];
platforms = platforms.all;
maintainers = [ maintainers.grburst ];
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/chez-modules/chez-mit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
description = "This is a MIT/GNU Scheme compatibility library for Chez Scheme";
homepage = "https://github.com/fedeinthemix/chez-mit/";
maintainers = [ maintainers.jitwit ];
license = licenses.free;
license = licenses.gpl3Plus;
};

}
2 changes: 1 addition & 1 deletion pkgs/development/chez-modules/chez-srfi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ stdenv.mkDerivation {
description = "This package provides a collection of SRFI libraries for Chez Scheme";
homepage = "https://github.com/fedeinthemix/chez-srfi/";
maintainers = [ maintainers.jitwit ];
license = licenses.free;
license = licenses.x11;
};

}
2 changes: 1 addition & 1 deletion pkgs/development/libraries/allegro/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A game programming library";
homepage = "https://liballeg.org/";
license = licenses.free; # giftware
license = licenses.giftware;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/arguments/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
description = "Library for argument handling for MINC programs";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.free;
license = licenses.gpl2Plus;
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
description = "Brain Imaging Centre graphics library";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.free;
license = licenses.hpndUc;
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
description = "Brain Imaging Centre programming library";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.free;
license = with licenses; [ hpndUc gpl3Plus ];
};
}
2 changes: 1 addition & 1 deletion pkgs/games/90secondportraits/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ in stdenv.mkDerivation rec {
mainProgram = "90secondportraits";
maintainers = with maintainers; [ leenaars ];
platforms = platforms.linux;
license = licenses.free;
license = with licenses; [ zlib cc-by-sa-40 cc-by-sa-30 /* vendored */ x11 mit ];
downloadPage = "http://tangramgames.dk/games/90secondportraits";
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/games/antsimulator/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/johnBuffer/AntSimulator";
description = "Simple Ants simulator";
mainProgram = "antsimulator";
license = licenses.free;
license = licenses.mit;
maintainers = with maintainers; [ ivar ];
platforms = platforms.unix;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
description = "Firmware extractor for cards supported by the b43 kernel module";
mainProgram = "b43-fwcutter";
homepage = "http://wireless.kernel.org/en/users/Drivers/b43";
license = lib.licenses.free;
license = lib.licenses.bsd2;
platforms = lib.platforms.linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/tools/misc/SP800-90B_EntropyAssessment/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/usnistgov/SP800-90B_EntropyAssessment";
description = "Implementation of min-entropy assessment methods included in Special Publication 800-90B";
platforms = lib.platforms.linux;
license = lib.licenses.free; #this software uses the NIST software license
license = lib.licenses.nistSoftware;
maintainers = with lib.maintainers; [ orichter thillux ];
};
}

0 comments on commit d0620a1

Please sign in to comment.