blender-machin3tools: init at 1.5.0

This commit is contained in:
Gabriel Arazas 2023-09-26 17:01:40 +08:00
parent 0f61e0f98e
commit 6454a3e05e
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 38 additions and 0 deletions

View 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 ];
};
}

View File

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