ffsend: 0.2.76 -> 0.2.77 (#419888)

authored by dotlambda and committed by GitHub 6ebbca03 c72de925

+12 -35
+12 -35
pkgs/by-name/ff/ffsend/package.nix
··· 22 23 rustPlatform.buildRustPackage rec { 24 pname = "ffsend"; 25 - version = "0.2.76"; 26 27 src = fetchFromGitLab { 28 owner = "timvisee"; 29 repo = "ffsend"; 30 - rev = "v${version}"; 31 - hash = "sha256-L1j1lXPxy9nWMeED9uzQHV5y7XTE6+DB57rDnXa4kMo="; 32 }; 33 34 - useFetchCargoVendor = true; 35 - cargoHash = "sha256-Gv70H3SLgiO7SWKYfCKzBhgAHxhjx3Gv7ZPLrGeQ+HY="; 36 37 cargoPatches = [ 38 - 39 - # Update dependencies (needed for the below patch to merge cleanly) 40 (fetchpatch { 41 - name = "Update-dependencies-1"; 42 - url = "https://github.com/timvisee/ffsend/commit/afb004680b9ed672c7e87ff23f16bb2c51fea06e.patch"; 43 - hash = "sha256-eDcbyi05aOq+muVWdLmlLzLXUKcrv/9Y0R+0aHgL4+s="; 44 - }) 45 - 46 - # Disable unused features in prettytable-rs crate (needed for the below patch to merge cleanly) 47 - (fetchpatch { 48 - name = "Disable-unused-features"; 49 - url = "https://github.com/timvisee/ffsend/commit/9b8dee12ea839f911ed207ff9602d929cab5d34b.patch"; 50 - hash = "sha256-6LK1Fqov+zEbPZ4+B6JCLXtXmgSad9vr9YO2oYodBSM="; 51 - }) 52 - 53 - # Update dependencies (needed for the below patch to merge cleanly) 54 - (fetchpatch { 55 - name = "Update-dependencies-2"; 56 - url = "https://github.com/timvisee/ffsend/commit/fd5b38f9ab9cbc5f962d1024f4809eb36ba8986c.patch"; 57 - hash = "sha256-BDZKrVtQHpOewmB2Lb6kUfy02swcNK+CYZ3lj3kwFV4="; 58 - }) 59 - 60 - # Fix seg fault 61 - (fetchpatch { 62 - name = "Fix-segfault"; 63 - url = "https://github.com/timvisee/ffsend/commit/3c1c2dc28ca1d88c45f87496a7a96052f5c37858.patch"; 64 - hash = "sha256-2hWlFXDopNy26Df74nJoB1J8qzPEOpf61wEOEtxOVx8="; 65 }) 66 ]; 67 ··· 86 ''; 87 # There's also .elv and .ps1 completion files but I don't know where to install those 88 89 - meta = with lib; { 90 description = "Easily and securely share files from the command line. A fully featured Firefox Send client"; 91 longDescription = '' 92 Easily and securely share files and directories from the command line through a safe, private ··· 95 web browser. 96 ''; 97 homepage = "https://gitlab.com/timvisee/ffsend"; 98 - license = licenses.gpl3Only; 99 - maintainers = with maintainers; [ equirosa ]; 100 - platforms = platforms.unix; 101 mainProgram = "ffsend"; 102 }; 103 }
··· 22 23 rustPlatform.buildRustPackage rec { 24 pname = "ffsend"; 25 + version = "0.2.77"; 26 27 src = fetchFromGitLab { 28 owner = "timvisee"; 29 repo = "ffsend"; 30 + tag = "v${version}"; 31 + hash = "sha256-qq1nLNe4ddcsFJZaGfNQbNtqchz6tPh1kpEH/oDW3jk="; 32 }; 33 34 + cargoHash = "sha256-DQcuyp61r0y9fi8AV33qxN2cOrl0M8q4/VoXuV47gxQ="; 35 36 cargoPatches = [ 37 + # https://gitlab.com/timvisee/ffsend/-/merge_requests/44 38 (fetchpatch { 39 + name = "rust-1.87.0-compat.patch"; 40 + url = "https://gitlab.com/timvisee/ffsend/-/commit/29eb167d4367929a2546c20b3f2bbf890b63c631.patch"; 41 + hash = "sha256-BxJ+0QJP2fzQT1X3BZG1Yy9V+csIEk8xocUKSBgdG9M="; 42 }) 43 ]; 44 ··· 63 ''; 64 # There's also .elv and .ps1 completion files but I don't know where to install those 65 66 + meta = { 67 description = "Easily and securely share files from the command line. A fully featured Firefox Send client"; 68 longDescription = '' 69 Easily and securely share files and directories from the command line through a safe, private ··· 72 web browser. 73 ''; 74 homepage = "https://gitlab.com/timvisee/ffsend"; 75 + license = lib.licenses.gpl3Only; 76 + maintainers = with lib.maintainers; [ equirosa ]; 77 + platforms = lib.platforms.unix; 78 mainProgram = "ffsend"; 79 }; 80 }