diff --git a/flake.nix b/flake.nix index d0ff0c02..4240dbe9 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; diff --git a/nix/hurricane.nix b/nix/hurricane.nix index 5aebcf6e..7af6fb9e 100644 --- a/nix/hurricane.nix +++ b/nix/hurricane.nix @@ -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 diff --git a/nix/lefdef.nix b/nix/lefdef.nix index 1d703a66..811d3d8c 100644 --- a/nix/lefdef.nix +++ b/nix/lefdef.nix @@ -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; }; }