mslicer: remove unused dependencies
This commit is contained in:
@@ -1,23 +1,23 @@
|
|||||||
{
|
{
|
||||||
cairo,
|
# cairo,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
gtk3,
|
# gtk3,
|
||||||
lib,
|
lib,
|
||||||
libglvnd,
|
libglvnd,
|
||||||
libgbm,
|
# libgbm,
|
||||||
libxkbcommon,
|
libxkbcommon,
|
||||||
fontconfig,
|
# fontconfig,
|
||||||
freetype,
|
# freetype,
|
||||||
pango,
|
# pango,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
vulkan-headers,
|
# vulkan-headers,
|
||||||
vulkan-loader,
|
vulkan-loader,
|
||||||
wayland,
|
wayland,
|
||||||
wayland-scanner,
|
wayland-scanner,
|
||||||
wayland-protocols,
|
wayland-protocols,
|
||||||
wrapGAppsHook3,
|
# wrapGAppsHook3,
|
||||||
xorg,
|
# xorg,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@@ -34,33 +34,25 @@ rustPlatform.buildRustPackage rec {
|
|||||||
cargoHash = "sha256-mRbEwxR6bMkybxe7H1dX4Qa1elGiw/lSSz9sSTtp1zw=";
|
cargoHash = "sha256-mRbEwxR6bMkybxe7H1dX4Qa1elGiw/lSSz9sSTtp1zw=";
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
# cmake
|
|
||||||
pkg-config
|
|
||||||
wayland-scanner
|
|
||||||
# wrapGAppsHook3 #< doesn't fix `POLYGON_MODE_LINE`
|
|
||||||
# rustPlatform.bindgenHook
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cairo
|
# cairo
|
||||||
gtk3
|
# gtk3
|
||||||
libglvnd
|
libglvnd
|
||||||
libgbm
|
# libgbm
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
xorg.libX11
|
# xorg.libX11
|
||||||
xorg.libXcursor
|
# xorg.libXcursor
|
||||||
xorg.libXi
|
# xorg.libXi
|
||||||
xorg.libxcb
|
# xorg.libxcb
|
||||||
xorg.libXrender
|
# xorg.libXrender
|
||||||
fontconfig
|
# fontconfig
|
||||||
freetype
|
# freetype
|
||||||
# openssl
|
# openssl
|
||||||
pango
|
# pango
|
||||||
vulkan-headers
|
# vulkan-headers
|
||||||
vulkan-loader
|
vulkan-loader
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
# wayland-protocols
|
||||||
];
|
];
|
||||||
|
|
||||||
# from pkgs/by-name/al/alvr/package.nix, to get it to actually link against wayland
|
# from pkgs/by-name/al/alvr/package.nix, to get it to actually link against wayland
|
||||||
@@ -86,8 +78,21 @@ rustPlatform.buildRustPackage rec {
|
|||||||
"--pop-state"
|
"--pop-state"
|
||||||
];
|
];
|
||||||
|
|
||||||
# strictDeps = true; #< TODO
|
doInstallCheck = true;
|
||||||
doCheck = false; #< TODO (while i iterate)
|
installCheckPhase = ''
|
||||||
|
runHook preInstallCheck
|
||||||
|
|
||||||
|
# spot-check the binaries
|
||||||
|
$out/bin/goo_format --help
|
||||||
|
# these other binaries can't be invoked w/ interactivity or real data:
|
||||||
|
test -x $out/bin/mslicer
|
||||||
|
test -x $out/bin/remote_send
|
||||||
|
test -x $out/bin/slicer
|
||||||
|
|
||||||
|
runHook postInstallCheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An experimental open source slicer for masked stereolithography (resin) printers.";
|
description = "An experimental open source slicer for masked stereolithography (resin) printers.";
|
||||||
|
Reference in New Issue
Block a user