Merge pull request #212628 from hesiod/update-nanovna-saver

nanovna-saver: 0.5.3 -> 0.5.4
This commit is contained in:
Nick Cao 2023-01-28 08:48:16 +08:00 committed by GitHub
commit 40ecd97406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 4 deletions

View File

@ -14339,6 +14339,12 @@
githubId = 1280118;
name = "Tomislav Markovski";
};
tmarkus = {
email = "tobias@markus-regensburg.de";
github = "hesiod";
githubId = 3159881;
name = "Tobias Markus";
};
tmountain = {
email = "tinymountain@gmail.com";
github = "tmountain";

View File

@ -2,19 +2,30 @@
lib,
python3,
fetchFromGitHub,
fetchpatch,
wrapQtAppsHook,
}:
python3.pkgs.buildPythonApplication rec {
pname = "nanovna-saver";
version = "0.5.3";
version = "0.5.4";
src = fetchFromGitHub {
owner = "NanoVNA-Saver";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-wKKjMcOx7NS2VAIk3OTAj7KWE1+CeAzctdgdidT+HMA=";
rev = "v${version}";
sha256 = "sha256-CLfgDQt2rOXtWwvEhlXEstPp28nFhuhiAPYL6EjZVu4=";
};
# Fix for https://github.com/NanoVNA-Saver/nanovna-saver/issues/579
# Try dropping the patch in the next release after v0.5.4
patches = [
(fetchpatch {
name = "remote-changelog-from-setup-py.patch";
url = "https://github.com/NanoVNA-Saver/${pname}/commit/d654ea0441939e4e1c599d1333b587a185394fbe.diff";
sha256 = "sha256-ifOhiWD0EYyQZRKp2W3G6crmWslca+/21APmhpfP/xE=";
})
];
nativeBuildInputs = [ wrapQtAppsHook ];
propagatedBuildInputs = with python3.pkgs; [
@ -47,6 +58,6 @@ python3.pkgs.buildPythonApplication rec {
generally display and analyze the resulting data.
'';
license = licenses.gpl3Only;
maintainers = with maintainers; [ zaninime ];
maintainers = with maintainers; [ zaninime tmarkus ];
};
}