fstl STL-viewer

This commit is contained in:
movefasta 2023-02-22 19:16:33 +03:00
parent 70ed52c797
commit 013d641536
No known key found for this signature in database
GPG key ID: 74C6469794E996AD
2 changed files with 33 additions and 2 deletions

View file

@ -24,7 +24,8 @@
bpy = pkgs.python3Packages.callPackage ./pkgs/development/python-modules/bpy { };
pysdf = pkgs.python3Packages.callPackage ./pkgs/development/python-modules/pysdf { };
mayo = pkgs.libsForQt5.callPackage ./pkgs/misc/mayo { };
darknet = pkgs.callPackage ./darknet.nix { };
# darknet = pkgs.callPackage ./darknet.nix { };
fstl = pkgs.libsForQt5.callPackage ./pkgs/misc/fstl { };
in
{
inherit pkgs;
@ -37,7 +38,7 @@
};
packages = {
inherit mayo darknet blender bpy pysdf;
inherit mayo blender bpy pysdf fstl;
gazebo = ros.humble.gazebo;
};

View file

@ -0,0 +1,30 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "fstl";
version = "0.10.0";
src = fetchFromGitHub {
owner = "fstl-app";
repo = "fstl";
rev = "v${version}";
hash = "sha256-z2X78GW/IeiPCnwkeLBCLjILhfMe2sT3V9Gbw4TSf4c=";
};
nativeBuildInputs = [
cmake
wrapQtAppsHook
];
meta = with lib; {
description = "A fast STL file viewer";
homepage = "https://github.com/fstl-app/fstl";
license = with licenses; [ ];
maintainers = with maintainers; [ ];
};
}