coloquinte and lefdef

This commit is contained in:
Las Safin 2021-08-22 11:40:56 +00:00
parent 8c9353f791
commit 985ae3edde
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
3 changed files with 45 additions and 0 deletions

View File

@ -85,6 +85,7 @@
rec {
overlay = final: prev: {
coriolis-vlsisapd = final.callPackage (import ./nix/vlsisapd.nix { inherit version meta; }) {};
coriolis-lefdef = final.callPackage (import ./nix/lefdef.nix { inherit version meta; }) {};
coriolis-bootstrap = final.callPackage (import ./nix/bootstrap.nix { inherit version meta; }) {};
coriolis-hurricane = final.callPackage (import ./nix/hurricane.nix { inherit version meta; }) {};
};
@ -93,6 +94,8 @@
with nixpkgsFor.${system}; {
vlsisapd = coriolis-vlsisapd;
bootstrap = coriolis-bootstrap;
coloquinte = coriolis-coloquinte;
lefdef = coriolis-lefdef;
hurricane = coriolis-hurricane;
});

20
nix/coloquinte.nix Normal file
View File

@ -0,0 +1,20 @@
{ version, meta }:
{ lib, stdenv, python2, cmake, boost, bison, flex
, libxml2, rapidjson, which, qt4, zlib, bzip2, ninja
, coriolis-bootstrap, coriolis-vlsisapd }:
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
stdenv.mkDerivation {
pname = "coriolis-coloquinte";
src = ../coloquinte;
cmakeFlags = [ "-DCMAKE_MODULE_PATH=${coriolis-bootstrap}/share/cmake/Modules" ];
buildInputs = [ boostWithPython coriolis-bootstrap qt4 ];
nativeBuildInputs = [ cmake ninja ];
inherit version meta;
}

22
nix/lefdef.nix Normal file
View File

@ -0,0 +1,22 @@
{ version, meta }:
{ lib, stdenv, python2, cmake, boost, bison, flex
, libxml2, rapidjson, which, qt4, zlib, bzip2, ninja
, coriolis-bootstrap, coriolis-vlsisapd }:
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
stdenv.mkDerivation {
pname = "coriolis-lefdef";
src = ../lefdef;
hardeningDisable = [ "format" ];
cmakeFlags = [ "-DCMAKE_MODULE_PATH=${coriolis-bootstrap}/share/cmake/Modules" ];
buildInputs = [ python2 boostWithPython coriolis-bootstrap bison flex zlib ];
nativeBuildInputs = [ cmake ninja ];
inherit version meta;
}