Merge pull request #116729 from oxzi/spdx-license-list-data-3.12
spdx-license-list-data: 3.11 -> 3.12
This commit is contained in:
commit
b77372d43d
|
@ -2,25 +2,28 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "spdx-license-list-data";
|
pname = "spdx-license-list-data";
|
||||||
version = "3.11";
|
version = "3.12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "spdx";
|
owner = "spdx";
|
||||||
repo = "license-list-data";
|
repo = "license-list-data";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1iwyqhh6lh51a47mhfy98zvjan8yjsvlym8qz0isx2i1zzxlj47a";
|
sha256 = "09xci8dzblg3d30jf7s43zialbcxlxly03zrkiymcvnzixg8v48f";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
install -vDt $out/json json/licenses.json
|
install -vDt $out/json json/licenses.json
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Various data formats for the SPDX License List";
|
description = "Various data formats for the SPDX License List";
|
||||||
homepage = "https://github.com/spdx/license-list-data";
|
homepage = "https://github.com/spdx/license-list-data";
|
||||||
license = lib.licenses.cc0;
|
license = licenses.cc0;
|
||||||
platforms = lib.platforms.all;
|
maintainers = with maintainers; [ oxzi ];
|
||||||
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue