depot/pkgs/by-name/tu/turbocase/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

33 lines
728 B
Nix

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