about summary refs log tree commit diff
path: root/pkgs/tools/graphics/shotgun/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/graphics/shotgun/default.nix')
-rw-r--r--pkgs/tools/graphics/shotgun/default.nix19
1 files changed, 5 insertions, 14 deletions
diff --git a/pkgs/tools/graphics/shotgun/default.nix b/pkgs/tools/graphics/shotgun/default.nix
index 8805da7ebe71d..fd774726285b8 100644
--- a/pkgs/tools/graphics/shotgun/default.nix
+++ b/pkgs/tools/graphics/shotgun/default.nix
@@ -1,32 +1,23 @@
-{ lib, rustPlatform, fetchFromGitHub, pkg-config, libXrandr, libX11 }:
+{ lib, rustPlatform, fetchFromGitHub }:
 
 rustPlatform.buildRustPackage rec {
   pname = "shotgun";
-  version = "2.4.0";
+  version = "2.5.0";
 
   src = fetchFromGitHub {
     owner = "neXromancers";
     repo = pname;
     rev = "v${version}";
-    sha256 = "sha256-fcb+eZXzpuEPFSZexbgDpoBX85gsiIqPlcPXruNGenk=";
+    sha256 = "sha256-ovqPBZznDQnQa9YW1xXA02Jl0AQ7sJNpzovA1SVR8Zc=";
   };
 
-  cargoSha256 = "sha256-n5HPl2h0fr0MyGBivNVrrs23HAllIYtwaw1aaKWHCe4=";
-
-  nativeBuildInputs = [ pkg-config ];
-
-  buildInputs = [ libXrandr libX11 ];
-
-  # build script tries to run git to get the current tag
-  postPatch = ''
-    echo "fn main() {}" > build.rs
-  '';
+  cargoSha256 = "sha256-mWifSN9Hpsivq0RdZ9l9+8CWaZMHfzzhT2r27FAuesU=";
 
   meta = with lib; {
     description = "Minimal X screenshot utility";
     homepage = "https://github.com/neXromancers/shotgun";
     license = with licenses; [ mpl20 ];
-    maintainers = with maintainers; [ figsoda lumi ];
+    maintainers = with maintainers; [ figsoda lumi novenary ];
     platforms = platforms.linux;
   };
 }