turbocase: init 1.8.0

This commit is contained in:
MayNiklas 2024-10-27 16:36:14 +01:00
parent 509b099fd4
commit 94108610fd

View File

@ -0,0 +1,33 @@
{
lib,
python3,
fetchFromGitea,
}:
python3.pkgs.buildPythonApplication rec {
pname = "turbocase";
version = "1.8.0";
pyproject = true;
src = fetchFromGitea {
domain = "codeberg.org";
owner = "MartijnBraam";
repo = "TurboCase";
rev = version;
hash = "sha256-mwWN7XYKr/BD9r935oElqoQN87kdrrWjkmhURkAkjj4=";
};
build-system = [ python3.pkgs.setuptools ];
dependencies = [ python3.pkgs.sexpdata ];
pythonImportsCheck = [ "turbocase" ];
meta = {
description = "Generate an OpenSCAD case template from a KiCAD PCB";
homepage = "https://turbocase.org";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ MayNiklas ];
mainProgram = "turbocase";
};
}