mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
blender-machin3tools: init at 1.5.0
This commit is contained in:
parent
0f61e0f98e
commit
6454a3e05e
37
pkgs/blender-machin3tools/default.nix
Normal file
37
pkgs/blender-machin3tools/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "blender-machin3tools";
|
||||
version = "1.5.0";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "machin3io";
|
||||
repo = "MACHIN3tools";
|
||||
rev = "2fd04c54205f3c381b72434609bff6e37ff0bcbb";
|
||||
hash = "sha256-vcVEaD4iF7QCRiC653wtj+EvbxKk1QXg11vZJmHJsQw=";
|
||||
};
|
||||
|
||||
passthru.blenderPluginName = "MACHIN3tools";
|
||||
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/blender/scripts/addons/${passthru.blenderPluginName}
|
||||
cp -r . $out/share/blender/scripts/addons/${passthru.blenderPluginName}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Collection of Blender tools and pie menus";
|
||||
homepage = "https://gumroad.com/l/MACHIN3tools";
|
||||
# It says GPL somewhere in the license but I have no clue.
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ foo-dogsquared ];
|
||||
};
|
||||
}
|
@ -9,6 +9,7 @@ let
|
||||
ags = callPackage ./ags { };
|
||||
awesome-cli = callPackage ./awesome-cli { };
|
||||
aw-watcher-window-wayland = callPackage ./aw-watcher-window-wayland { };
|
||||
blender-machin3tools = python3Packages.callPackage ./blender-machin3tools { };
|
||||
decker = callPackage ./decker { };
|
||||
cosmic-launcher = callPackage ./cosmic-launcher { };
|
||||
clidle = callPackage ./clidle.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user