lib/licenses: add Elastic License 2.0, drop Elastic License

This license was introduced in the Elastic search repository by this
commit: a92a647b9f

It appears that all the the packages in nixpkgs using the Elastic License are using the v2.0.
This commit is contained in:
Thomas Gerbet 2023-08-27 18:29:26 +02:00
parent 1915b69aca
commit e39d579918
7 changed files with 9 additions and 9 deletions

View File

@ -413,9 +413,9 @@ in mkLicense lset) ({
fullName = "Eiffel Forum License v2.0";
};
elastic = {
fullName = "ELASTIC LICENSE";
url = "https://github.com/elastic/elasticsearch/blob/master/licenses/ELASTIC-LICENSE.txt";
elastic20 = {
fullName = "Elastic License 2.0";
url = "https://github.com/elastic/elasticsearch/blob/main/licenses/ELASTIC-LICENSE-2.0.txt";
free = false;
};

View File

@ -39,7 +39,7 @@ buildGoModule rec {
description = "Code security scanning tool (SAST) to discover, filter and prioritize security and privacy risks";
homepage = "https://github.com/bearer/bearer";
changelog = "https://github.com/Bearer/bearer/releases/tag/v${version}";
license = with licenses; [ elastic ];
license = with licenses; [ elastic20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -53,7 +53,7 @@ in stdenv.mkDerivation rec {
meta = with lib; {
description = "Visualize logs and time-stamped data";
homepage = "http://www.elasticsearch.org/overview/kibana";
license = licenses.elastic;
license = licenses.elastic20;
maintainers = with maintainers; [ offline basvandijk ];
platforms = with platforms; unix;
};

View File

@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "A configurable, high-performance routing runtime for Apollo Federation";
homepage = "https://www.apollographql.com/docs/router/";
license = licenses.elastic;
license = licenses.elastic20;
maintainers = [ maintainers.bbigras ];
};
}

View File

@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
binaryBytecode
binaryNativeCode
];
license = licenses.elastic;
license = licenses.elastic20;
platforms = platforms.unix;
maintainers = with maintainers; [ apeschar basvandijk ];
};

View File

@ -21,7 +21,7 @@ buildGoModule rec {
description = "Infra manages access to infrastructure such as Kubernetes";
homepage = "https://github.com/infrahq/infra";
changelog = "https://github.com/infrahq/infra/raw/v${version}/CHANGELOG.md";
license = licenses.elastic;
license = licenses.elastic20;
maintainers = with maintainers; [ peterromfeldhk ];
};
}

View File

@ -72,7 +72,7 @@ let
binaryBytecode # source bundles dependencies as jars
binaryNativeCode # bundled jruby includes native code
];
license = if enableUnfree then licenses.elastic else licenses.asl20;
license = if enableUnfree then licenses.elastic20 else licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ wjlroe offline basvandijk ];
};