about summary refs log tree commit diff
path: root/pkgs/tools/misc/ripdrag
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-09-14 14:08:03 -0400
committerfigsoda <figsoda@pm.me>2022-09-14 15:46:02 -0400
commit80930924f82d0b744d362791f84289b8f4ce5b9c (patch)
tree712ee7183cdcf9e287da58a409b75f320afc55fb /pkgs/tools/misc/ripdrag
parentee55809e3162f9157a7579b59d4b9caf6e931686 (diff)
ripdrag: init at 0.1.5
Diffstat (limited to 'pkgs/tools/misc/ripdrag')
-rw-r--r--pkgs/tools/misc/ripdrag/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ripdrag/default.nix b/pkgs/tools/misc/ripdrag/default.nix
new file mode 100644
index 0000000000000..f6c7c79bfd81b
--- /dev/null
+++ b/pkgs/tools/misc/ripdrag/default.nix
@@ -0,0 +1,24 @@
+{ lib, rustPlatform, fetchCrate, pkg-config, gtk4 }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "ripdrag";
+  version = "0.1.5";
+
+  src = fetchCrate {
+    inherit pname version;
+    sha256 = "sha256-Pa/QYxdPt95deEjSXEVhm2jR3r8rTaKQj2DltT7EVAw=";
+  };
+
+  cargoSha256 = "sha256-jI7nF8Q8sA4AxkXvQ43r5GqcbTWffuf453DLGUs7I98=";
+
+  nativeBuildInputs = [ pkg-config ];
+
+  buildInputs = [ gtk4 ];
+
+  meta = with lib; {
+    description = "An application that lets you drag and drop files from and to the terminal";
+    homepage = "https://github.com/nik012003/ripdrag";
+    license = licenses.gpl3Only;
+    maintainers = with maintainers; [ figsoda ];
+  };
+}