mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-13 10:50:20 +01:00
Split into different files and use callPackage to build them. Also add them to a 'package' attribute in the flake, to be able to call them outside.
21 lines
289 B
Nix
21 lines
289 B
Nix
{
|
|
simulationcraft-src,
|
|
stdenv,
|
|
qt5,
|
|
cmake,
|
|
curl,
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "simulationcraft";
|
|
version = "master";
|
|
|
|
src = simulationcraft-src;
|
|
|
|
buildInputs = [
|
|
qt5.qtbase
|
|
qt5.qtwebengine
|
|
cmake
|
|
curl
|
|
];
|
|
nativeBuildInputs = [qt5.wrapQtAppsHook];
|
|
}
|