13 buildPythonPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-SwXoCA9ru5VgH4geKUDgdcPrgEYgNoVwNb5YUBAcXlo=";
23 format = "setuptools";
25 nativeBuildInputs = [ setuptools ];
27 propagatedBuildInputs = [
35 # setup.py tries to execute a call to git in a subprocess, this avoids it.
36 substituteInPlace setup.py \
37 --replace "version=version()," \
38 "version='${version}',"
41 pythonImportsCheck = [ "gerbonara" ];
43 # Test environment is exceptionally tricky to get set up, so skip for now.
46 passthru.updateScript = gitUpdater { rev-prefix = "v"; };
49 description = "Pythonic library for reading/modifying/writing Gerber/Excellon/IPC-356 files";
50 mainProgram = "gerbonara";
51 homepage = "https://github.com/jaseg/gerbonara";
52 license = with licenses; [ asl20 ];
53 maintainers = with maintainers; [ wulfsta ];