diff --git a/lib/licenses.nix b/lib/licenses.nix index 092cbbbdb25..e3803c098c7 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -13,6 +13,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec { * add it to this list. The URL mentioned above is a good source for inspiration. */ + abstyles = spdx { + spdxId = "Abstyles"; + fullName = "Abstyles License"; + }; + afl21 = spdx { spdxId = "AFL-2.1"; fullName = "Academic Free License v2.1"; diff --git a/pkgs/development/tools/misc/cwebbin/default.nix b/pkgs/development/tools/misc/cwebbin/default.nix index a952475b967..d8deb75d2d4 100644 --- a/pkgs/development/tools/misc/cwebbin/default.nix +++ b/pkgs/development/tools/misc/cwebbin/default.nix @@ -46,5 +46,6 @@ stdenv.mkDerivation rec { description = "Literate Programming in C/C++"; platforms = with platforms; unix; maintainers = with maintainers; [ vrthra ]; + license = licenses.abstyles; }; } diff --git a/pkgs/development/tools/misc/eggdbus/default.nix b/pkgs/development/tools/misc/eggdbus/default.nix index 3b1c70b4ac3..7c7e5340434 100644 --- a/pkgs/development/tools/misc/eggdbus/default.nix +++ b/pkgs/development/tools/misc/eggdbus/default.nix @@ -2,18 +2,19 @@ stdenv.mkDerivation rec { name = "eggdbus-0.6"; - + src = fetchurl { url = "https://hal.freedesktop.org/releases/${name}.tar.gz"; sha256 = "118hj63ac65zlg71kydv4607qcg1qpdlql4kvhnwnnhar421jnq4"; }; - + nativeBuildInputs = [ pkgconfig ]; buildInputs = [ glib dbus dbus-glib ]; - meta = { + meta = with stdenv.lib; { homepage = https://hal.freedesktop.org/releases/; description = "D-Bus bindings for GObject"; - platforms = stdenv.lib.platforms.linux; + platforms = platforms.linux; + license = licenses.lgpl2; }; } diff --git a/pkgs/development/tools/misc/icon-naming-utils/default.nix b/pkgs/development/tools/misc/icon-naming-utils/default.nix index 37bc73172da..5fd0fe8be2f 100644 --- a/pkgs/development/tools/misc/icon-naming-utils/default.nix +++ b/pkgs/development/tools/misc/icon-naming-utils/default.nix @@ -7,7 +7,7 @@ stdenv.mkDerivation rec { url = "http://tango.freedesktop.org/releases/${name}.tar.gz"; sha256 = "071fj2jm5kydlz02ic5sylhmw6h2p3cgrm3gwdfabinqkqcv4jh4"; }; - + buildInputs = [perl XMLSimple librsvg]; postInstall = @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { homepage = http://tango.freedesktop.org/Standard_Icon_Naming_Specification; platforms = with platforms; linux ++ darwin; + license = licenses.gpl2; }; } diff --git a/pkgs/development/tools/misc/ltrace/default.nix b/pkgs/development/tools/misc/ltrace/default.nix index 15eac37a53a..77d4c5771f9 100644 --- a/pkgs/development/tools/misc/ltrace/default.nix +++ b/pkgs/development/tools/misc/ltrace/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Library call tracer"; homepage = https://www.ltrace.org/; - platforms = stdenv.lib.platforms.linux; + platforms = [ "i686-linux" "x86_64-linux" ]; + license = licenses.gpl2; }; } diff --git a/pkgs/development/tools/misc/pkgconfig/default.nix b/pkgs/development/tools/misc/pkgconfig/default.nix index 1ae8a32b640..81fb7f8b13f 100644 --- a/pkgs/development/tools/misc/pkgconfig/default.nix +++ b/pkgs/development/tools/misc/pkgconfig/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { description = "A tool that allows packages to find out information about other packages"; homepage = http://pkg-config.freedesktop.org/wiki/; platforms = platforms.all; + license = licenses.gpl2Plus; }; } diff --git a/pkgs/development/tools/misc/sqitch/default.nix b/pkgs/development/tools/misc/sqitch/default.nix index 8328433a823..a077367622e 100644 --- a/pkgs/development/tools/misc/sqitch/default.nix +++ b/pkgs/development/tools/misc/sqitch/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation { meta = { platforms = stdenv.lib.platforms.unix; + inherit (sqitchModule.meta) license; }; } diff --git a/pkgs/development/tools/misc/tie/default.nix b/pkgs/development/tools/misc/tie/default.nix index c73dbfce8f8..c380243a898 100644 --- a/pkgs/development/tools/misc/tie/default.nix +++ b/pkgs/development/tools/misc/tie/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation rec { description = "Allow multiple web change files"; platforms = with platforms; unix; maintainers = with maintainers; [ vrthra ]; + license = licenses.abstyles; }; } diff --git a/pkgs/development/tools/parse-cli-bin/default.nix b/pkgs/development/tools/parse-cli-bin/default.nix index 9424196cf46..616a2049c77 100644 --- a/pkgs/development/tools/parse-cli-bin/default.nix +++ b/pkgs/development/tools/parse-cli-bin/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation rec { description = "Parse Command Line Interface"; homepage = "https://parse.com"; platforms = platforms.linux; + license = licenses.bsd3; }; phases = "installPhase"; @@ -22,4 +23,4 @@ stdenv.mkDerivation rec { cp "$src" "$out/bin/parse" chmod +x "$out/bin/parse" ''; -} \ No newline at end of file +} diff --git a/pkgs/development/tools/parsing/peg/default.nix b/pkgs/development/tools/parsing/peg/default.nix index 3a273e1ddbf..5b8b16ef192 100644 --- a/pkgs/development/tools/parsing/peg/default.nix +++ b/pkgs/development/tools/parsing/peg/default.nix @@ -10,9 +10,9 @@ stdenv.mkDerivation rec { preBuild="makeFlagsArray+=( PREFIX=$out )"; - meta = { + meta = with stdenv.lib; { homepage = http://piumarta.com/software/peg/; - platforms = stdenv.lib.platforms.all; - maintainers = [ ]; + platforms = platforms.all; + license = licenses.mit; }; } diff --git a/pkgs/development/tools/tradcpp/default.nix b/pkgs/development/tools/tradcpp/default.nix index 8cde662b14c..64a97ad0087 100644 --- a/pkgs/development/tools/tradcpp/default.nix +++ b/pkgs/development/tools/tradcpp/default.nix @@ -13,9 +13,10 @@ stdenv.mkDerivation { preConfigure = "autoconf"; patches = [ ./tradcpp-configure.patch ]; - meta = { + meta = with stdenv.lib; { description = "A traditional (K&R-style) C macro preprocessor"; - platforms = stdenv.lib.platforms.all; + platforms = platforms.all; + license = licenses.bsd2; }; } diff --git a/pkgs/development/tools/xcbuild/default.nix b/pkgs/development/tools/xcbuild/default.nix index 3f7b21be005..e71375402c7 100644 --- a/pkgs/development/tools/xcbuild/default.nix +++ b/pkgs/development/tools/xcbuild/default.nix @@ -62,5 +62,6 @@ in stdenv.mkDerivation rec { homepage = https://github.com/facebook/xcbuild; platforms = platforms.unix; maintainers = with maintainers; [ copumpkin matthewbauer ]; + license = with licenses; [ bsd2 bsd3 ]; }; }