coriolis/nix/tutorial.nix

24 lines
583 B
Nix

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