Browse Source

curl: add license

nixos-19.03
Markus Kowalewski 3 years ago
parent
commit
17702d0416
No known key found for this signature in database GPG Key ID: D865C8A91D7025EB
  1. 5
      lib/licenses.nix
  2. 1
      pkgs/tools/networking/curl/7_59.nix
  3. 3
      pkgs/tools/networking/curl/default.nix

5
lib/licenses.nix

@ -210,6 +210,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "Common Public License 1.0";
};
curl = {
fullName = "MIT/X11 derivate";
url = "https://curl.haxx.se/docs/copyright.html";
};
doc = spdx {
spdxId = "DOC";
fullName = "DOC License";

1
pkgs/tools/networking/curl/7_59.nix

@ -101,6 +101,7 @@ stdenv.mkDerivation rec {
description = "A command line tool for transferring files with URL syntax";
homepage = https://curl.haxx.se/;
maintainers = with maintainers; [ lovek323 ];
license = licenses.curl;
platforms = platforms.all;
};
}

3
pkgs/tools/networking/curl/default.nix

@ -105,6 +105,7 @@ stdenv.mkDerivation rec {
description = "A command line tool for transferring files with URL syntax";
homepage = https://curl.haxx.se/;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.all;
license = licenses.curl;
platforms = platforms.all;
};
}

Loading…
Cancel
Save