Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 46 lines 948 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 gitUpdater, 6 uv-build, 7 click, 8 quart, 9 rtree, 10}: 11 12buildPythonPackage rec { 13 pname = "gerbonara"; 14 version = "1.6.1"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "jaseg"; 19 repo = "gerbonara"; 20 tag = "v${version}"; 21 hash = "sha256-kzEjfM9QrT+izwyCnNdN6Bv6lk1rzqs7tfDvERzJzzI="; 22 }; 23 24 build-system = [ uv-build ]; 25 26 dependencies = [ 27 click 28 quart 29 rtree 30 ]; 31 32 pythonImportsCheck = [ "gerbonara" ]; 33 34 # Test environment is exceptionally tricky to get set up, so skip for now. 35 doCheck = false; 36 37 passthru.updateScript = gitUpdater { rev-prefix = "v"; }; 38 39 meta = { 40 description = "Pythonic library for reading/modifying/writing Gerber/Excellon/IPC-356 files"; 41 mainProgram = "gerbonara"; 42 homepage = "https://github.com/jaseg/gerbonara"; 43 license = with lib.licenses; [ asl20 ]; 44 maintainers = with lib.maintainers; [ wulfsta ]; 45 }; 46}