2022-09-14 20:08:03 +02:00
|
|
|
{ lib, rustPlatform, fetchCrate, pkg-config, gtk4 }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "ripdrag";
|
2022-11-05 23:37:39 +01:00
|
|
|
version = "0.2.1";
|
2022-09-14 20:08:03 +02:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-11-05 23:37:39 +01:00
|
|
|
sha256 = "sha256-/TF9dWZQVEVM3lHp4ubxYkDW+ZDL9puT6mUT6Q3hUsw=";
|
2022-09-14 20:08:03 +02:00
|
|
|
};
|
|
|
|
|
2022-11-05 23:37:39 +01:00
|
|
|
cargoSha256 = "sha256-mIsT93XRU0mR5s5w3Sng2DTW2LyO9HT1w/1932vptIE=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|