diff options
Diffstat (limited to 'pkgs/development/python-modules/gerbonara/default.nix')
-rw-r--r-- | pkgs/development/python-modules/gerbonara/default.nix | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/gerbonara/default.nix b/pkgs/development/python-modules/gerbonara/default.nix index 15ec60ccc385..46a226f5637d 100644 --- a/pkgs/development/python-modules/gerbonara/default.nix +++ b/pkgs/development/python-modules/gerbonara/default.nix @@ -1,29 +1,28 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, setuptools -, pytest -, click -, numpy -, scipy -, rtree +{ + lib, + buildPythonPackage, + fetchFromGitHub, + gitUpdater, + setuptools, + click, + numpy, + scipy, + rtree, }: buildPythonPackage rec { pname = "gerbonara"; - version = "1.2.0"; + version = "1.4.0"; src = fetchFromGitHub { owner = "jaseg"; repo = "gerbonara"; rev = "v${version}"; - hash = "sha256-VU4Of90YUPoLuiUpIDwSUfxQOoKChNbZE0klHkHEmaY="; + hash = "sha256-SwXoCA9ru5VgH4geKUDgdcPrgEYgNoVwNb5YUBAcXlo="; }; format = "setuptools"; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ click @@ -44,6 +43,8 @@ buildPythonPackage rec { # Test environment is exceptionally tricky to get set up, so skip for now. doCheck = false; + passthru.updateScript = gitUpdater { rev-prefix = "v"; }; + meta = with lib; { description = "Pythonic library for reading/modifying/writing Gerber/Excellon/IPC-356 files"; mainProgram = "gerbonara"; |