spdx-license-list-data: 3.11 -> 3.12

This commit is contained in:
Alvar Penning 2021-03-18 10:57:29 +01:00
parent 5a41d0d5a0
commit b710d59295

View file

@ -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;
}; };
} }