coriolis/nix/tutorial.nix

24 lines
583 B
Nix
Raw Normal View History

2021-08-27 12:18:34 -05:00
{ version, meta }:
{ lib, stdenv, cmake, ninja, python2, boost
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, qt4, coriolis-lefdef, libxml2
, doxygen }:
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
stdenv.mkDerivation {
pname = "coriolis-tutorial";
src = ../tutorial;
buildInputs = [
python2 boostWithPython coriolis-bootstrap
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-lefdef libxml2 qt4
];
nativeBuildInputs = [ cmake ninja doxygen ];
inherit version meta;
}