2022-09-14 20:08:03 +02:00
|
|
|
{ lib, rustPlatform, fetchCrate, pkg-config, gtk4 }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "ripdrag";
|
2023-03-12 19:13:27 +01:00
|
|
|
version = "0.3.0";
|
2022-09-14 20:08:03 +02:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-03-12 19:13:27 +01:00
|
|
|
sha256 = "sha256-D4WB1RdMPJfSLbJ96h3OuFhokfyY8Gamctm0XY694YM=";
|
2022-09-14 20:08:03 +02:00
|
|
|
};
|
|
|
|
|
2023-03-12 19:13:27 +01:00
|
|
|
cargoSha256 = "sha256-C2I26E/dd18A4DDgOYGR8aS1RBrrNUwaXI4ZJHcrKy0=";
|
2022-09-14 20:08:03 +02:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|