figsoda 2023-08-14 13:27:06 -04:00
parent 300da0a691
commit 1302818fee

View file

@ -1,15 +1,17 @@
{ lib, rustPlatform, fetchCrate, pkg-config, wrapGAppsHook4, gtk4 }:
{ lib, rustPlatform, fetchFromGitHub, pkg-config, wrapGAppsHook4, gtk4 }:
rustPlatform.buildRustPackage rec {
pname = "ripdrag";
version = "0.4.0";
version = "0.4.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-9VGvwMovJb1IIpwf+1FxcxnPcmPl+59jfQC6365E95s=";
src = fetchFromGitHub {
owner = "nik012003";
repo = "ripdrag";
rev = "v${version}";
hash = "sha256-Omq5y6ECo+3thhz88IMZJGkRNlAEuMAMbljVKXzxSQc=";
};
cargoHash = "sha256-kxT0wJodPiHXX/bsvrlPbyfUbxPBgmv68a8I5pKOwEg=";
cargoHash = "sha256-NQHFnA/9K8V8sxX9Lzoh6tuKvMmx7FMd8lTTPiQ+xnU=";
nativeBuildInputs = [ pkg-config wrapGAppsHook4 ];
@ -18,6 +20,7 @@ rustPlatform.buildRustPackage rec {
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 ];
};