diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/ripdrag')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/ripdrag/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/ripdrag/default.nix b/nixpkgs/pkgs/tools/misc/ripdrag/default.nix new file mode 100644 index 000000000000..67151cd060e5 --- /dev/null +++ b/nixpkgs/pkgs/tools/misc/ripdrag/default.nix @@ -0,0 +1,27 @@ +{ lib, rustPlatform, fetchFromGitHub, pkg-config, wrapGAppsHook4, gtk4 }: + +rustPlatform.buildRustPackage rec { + pname = "ripdrag"; + version = "0.4.3"; + + src = fetchFromGitHub { + owner = "nik012003"; + repo = "ripdrag"; + rev = "v${version}"; + hash = "sha256-SvGJb/XosR8T/bg7nhjXR15Ba1MLaerJvoetYDtgHiM="; + }; + + cargoHash = "sha256-O/Xp+dZ+Pv1/yNS/KYbF2wQguq/udtJlRPeP4v3U0Vs="; + + nativeBuildInputs = [ pkg-config wrapGAppsHook4 ]; + + 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"; + changelog = "https://github.com/nik012003/ripdrag/releases/tag/${src.rev}"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ figsoda ]; + }; +} |