nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 38 lines 865 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 wrapGAppsHook4, 7 gtk4, 8}: 9 10rustPlatform.buildRustPackage rec { 11 pname = "ripdrag"; 12 version = "0.4.10"; 13 14 src = fetchFromGitHub { 15 owner = "nik012003"; 16 repo = "ripdrag"; 17 rev = "v${version}"; 18 hash = "sha256-aK/1f56sHspohbYO0z2Hf1NDJsN8Dbf1NoL/QadbVSY="; 19 }; 20 21 cargoHash = "sha256-w6gy149pbzRmN3XnRqMZuxAsKGXUglQpn/7g9L8+rZU="; 22 23 nativeBuildInputs = [ 24 pkg-config 25 wrapGAppsHook4 26 ]; 27 28 buildInputs = [ gtk4 ]; 29 30 meta = with lib; { 31 description = "Application that lets you drag and drop files from and to the terminal"; 32 homepage = "https://github.com/nik012003/ripdrag"; 33 changelog = "https://github.com/nik012003/ripdrag/releases/tag/${src.rev}"; 34 license = licenses.gpl3Only; 35 maintainers = with maintainers; [ figsoda ]; 36 mainProgram = "ripdrag"; 37 }; 38}