ncspot: 1.2.0 -> 1.2.1 (#352817)

This commit is contained in:
Weijia Wang
2024-11-01 20:12:02 +01:00
committed by GitHub
+5 -5
View File
@@ -35,16 +35,16 @@
rustPlatform.buildRustPackage rec {
pname = "ncspot";
version = "1.2.0";
version = "1.2.1";
src = fetchFromGitHub {
owner = "hrkfdn";
repo = "ncspot";
rev = "refs/tags/v${version}";
hash = "sha256-FI/MZRxTyYWh+CWq3roO6d48xlPsyL58+euGmCZ8p4Y=";
hash = "sha256-h3Mp67AKuzzeO6l7jN6yrQAHpYSsaOp1Y+qJoamK82U=";
};
cargoHash = "sha256-Jg/P6aaMlgpunYd30eoBt1leL0vgEBn2wNRGZsP4abc=";
cargoHash = "sha256-uWnW4Ov5MoDh3xkmTsNSin9WI0SJAoDGa+n8IMNvo4Y=";
nativeBuildInputs = [ pkg-config ] ++ lib.optional withClipboard python3;
@@ -80,8 +80,8 @@ rustPlatform.buildRustPackage rec {
++ lib.optional withTermion "termion_backend";
postInstall = ''
install -D --mode=444 $src/misc/ncspot.desktop $out/share/applications/nscpot.desktop
install -D --mode=444 $src/images/logo.svg $out/share/icons/hicolor/scalable/apps/nscpot.png
install -D --mode=444 $src/misc/ncspot.desktop $out/share/applications/ncspot.desktop
install -D --mode=444 $src/images/logo.svg $out/share/icons/hicolor/scalable/apps/ncspot.svg
'';
passthru = {