Unverified Commit 595c852c authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

ncspot: 1.2.0 -> 1.2.1 (#352817)

parents 69b87d4a d86732dc
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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 = {