Fix licenses

This commit is contained in:
Las Safin 2021-08-31 15:47:12 +00:00
parent 6beed7504c
commit 36203e5d51
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
3 changed files with 5 additions and 3 deletions

View File

@ -22,7 +22,6 @@
meta = with nixpkgs.lib; {
description = "Coriolis is a free database, placement tool and routing tool for VLSI design.";
homepage = "http://coriolis.lip6.fr/";
license = licenses.gpl3;
platforms = platforms.all;
};

View File

@ -1,12 +1,13 @@
{ version, meta, generic, ... }:
let pkg =
{ libxml2, bzip2, rapidjson, qt4, bison, flex, doxygen, coriolis-vlsisapd }:
{ lib, libxml2, bzip2, rapidjson, qt4, bison, flex, doxygen, coriolis-vlsisapd }:
{
name = "hurricane";
src = ../hurricane;
buildInputs = [ libxml2 qt4 bzip2 rapidjson coriolis-vlsisapd ];
nativeBuildInputs = [ bison flex doxygen ];
pythonImportsCheck = [ "Viewer" "Hurricane" "Cfg2" "Analog" ];
continuation = drv: drv.overrideAttrs (o: { meta = o.meta // { license = lib.licenses.lgpl3Plus; });
};
in generic pkg

View File

@ -15,5 +15,7 @@ stdenv.mkDerivation {
buildInputs = [ python2 boostWithPython coriolis-bootstrap bison flex zlib ];
nativeBuildInputs = [ cmake ninja ];
inherit version meta;
inherit version;
meta = meta // { license = lib.licenses.apsl20; };
}