From b721a1b9a91a0a6b203be286dedd37dfbd9f3f7c Mon Sep 17 00:00:00 2001 From: Benjamin Hipple Date: Tue, 9 Oct 2018 21:23:37 -0400 Subject: [PATCH 1/4] pytest: add license --- pkgs/development/python-modules/pytest/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest/default.nix b/pkgs/development/python-modules/pytest/default.nix index 6146159ad0ab..deb9cbdb7d0a 100644 --- a/pkgs/development/python-modules/pytest/default.nix +++ b/pkgs/development/python-modules/pytest/default.nix @@ -37,8 +37,10 @@ buildPythonPackage rec { ''; meta = with stdenv.lib; { - maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ]; - platforms = platforms.unix; + homepage = https://docs.pytest.org; description = "Framework for writing tests"; + maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ]; + license = licenses.mit; + platforms = platforms.unix; }; } From 3ec3116faeb2daf6b970aa95e9956ea8d0bdf1dd Mon Sep 17 00:00:00 2001 From: Benjamin Hipple Date: Tue, 9 Oct 2018 21:27:05 -0400 Subject: [PATCH 2/4] harfbuzz: add license --- pkgs/development/libraries/harfbuzz/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix index 383f7f60f9bf..b3ab9c7881a9 100644 --- a/pkgs/development/libraries/harfbuzz/default.nix +++ b/pkgs/development/libraries/harfbuzz/default.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation { homepage = http://www.freedesktop.org/wiki/Software/HarfBuzz; downloadPage = "https://www.freedesktop.org/software/harfbuzz/release/"; maintainers = [ maintainers.eelco ]; + license = licenses.mit; platforms = with platforms; linux ++ darwin; inherit version; updateWalker = true; From 87a089bacc358d7d8c788105090d34c5cbb50bde Mon Sep 17 00:00:00 2001 From: Benjamin Hipple Date: Tue, 9 Oct 2018 21:29:08 -0400 Subject: [PATCH 3/4] xen: add license --- pkgs/applications/virtualization/xen/generic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/virtualization/xen/generic.nix b/pkgs/applications/virtualization/xen/generic.nix index 6d0344d46865..968d998792df 100644 --- a/pkgs/applications/virtualization/xen/generic.nix +++ b/pkgs/applications/virtualization/xen/generic.nix @@ -234,5 +234,6 @@ stdenv.mkDerivation (rec { + withXenfiles (name: x: ''* ${name}: ${x.meta.description or "(No description)"}.''); platforms = [ "x86_64-linux" ]; maintainers = with stdenv.lib.maintainers; [ eelco tstrobel oxij ]; + license = stdenv.lib.licenses.gpl2; } // (config.meta or {}); } // removeAttrs config [ "xenfiles" "buildInputs" "patches" "postPatch" "meta" ]) From d78da463c52cf54fa6d24a0cb4860538b124f962 Mon Sep 17 00:00:00 2001 From: Benjamin Hipple Date: Tue, 9 Oct 2018 21:35:12 -0400 Subject: [PATCH 4/4] par: add license --- pkgs/tools/text/par/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/par/default.nix b/pkgs/tools/text/par/default.nix index c7a686201b0d..5f9ca5212d30 100644 --- a/pkgs/tools/text/par/default.nix +++ b/pkgs/tools/text/par/default.nix @@ -28,9 +28,11 @@ stdenv.mkDerivation { ''; - meta = { + meta = with stdenv.lib; { homepage = http://www.nicemice.net/par/; description = "Paragraph reflow for email"; - platforms = stdenv.lib.platforms.unix; + platforms = platforms.unix; + # See https://fedoraproject.org/wiki/Licensing/Par for license details + license = licenses.free; }; }