nanovna-saver: 0.5.3 -> 0.5.4

This commit is contained in:
Tobias Markus 2023-01-25 16:27:07 +01:00
parent 62f73c78df
commit fc4eb8d40a

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 ];
};
}