diff options
| author | Sughosha <sughosha@disroot.org> | 2026-06-07 10:55:26 +0530 |
|---|---|---|
| committer | Sughosha <sughosha@disroot.org> | 2026-07-17 21:27:49 +0530 |
| commit | 26c357257de8803112e8cf56b3f0db305e05aac1 (patch) | |
| tree | 389181372cd16b19d6a28af2ea990592ac710213 /gnu/packages/rust-apps.scm | |
| parent | 1cbf34833b403e56dabee4c56c365fb5b80277bc (diff) | |
gnu: Add popsicle.
* gnu/packages/rust-apps.scm (popsicle): New variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[popsicle]: New entry.
Diffstat (limited to 'gnu/packages/rust-apps.scm')
| -rw-r--r-- | gnu/packages/rust-apps.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 5cd5e1f2043..685266e0815 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm | |||
| @@ -1175,6 +1175,47 @@ from a single, concise, @code{EBNF}-like grammar.") | |||
| 1175 | similar to lsusb.") | 1175 | similar to lsusb.") |
| 1176 | (license license:gpl3+))) | 1176 | (license license:gpl3+))) |
| 1177 | 1177 | ||
| 1178 | (define-public popsicle | ||
| 1179 | (package | ||
| 1180 | (name "popsicle") | ||
| 1181 | (version "1.3.3") | ||
| 1182 | (source | ||
| 1183 | (origin | ||
| 1184 | (method git-fetch) | ||
| 1185 | (uri (git-reference | ||
| 1186 | (url "https://github.com/pop-os/popsicle") | ||
| 1187 | (commit version))) | ||
| 1188 | (file-name (git-file-name name version)) | ||
| 1189 | (sha256 | ||
| 1190 | (base32 "1hf1pdid2nhr5i0x2xdr36zfd6pcvnqr9q70lpzgaxp8zrm0sr5i")))) | ||
| 1191 | (build-system cargo-build-system) | ||
| 1192 | (arguments | ||
| 1193 | (list | ||
| 1194 | #:install-source? #f | ||
| 1195 | #:cargo-build-flags | ||
| 1196 | ''("--release" "-p" "popsicle_cli") | ||
| 1197 | #:phases | ||
| 1198 | #~(modify-phases %standard-phases | ||
| 1199 | (add-after 'unpack 'use-guix-vendored-dependencies | ||
| 1200 | (lambda _ | ||
| 1201 | (substitute* "cli/Cargo.toml" | ||
| 1202 | (("git =.*pb\", branch = \"write\"") | ||
| 1203 | "version = \"*\"")) | ||
| 1204 | (substitute* "gtk/Cargo.toml" | ||
| 1205 | (("git = .*dbus-udisks2\"") "version = \"*\"") | ||
| 1206 | (("git = .*iso9660-rs\"") "version = \"*\"")))) | ||
| 1207 | (replace 'install | ||
| 1208 | (lambda _ | ||
| 1209 | (install-file "target/release/popsicle" | ||
| 1210 | (string-append #$output "/bin"))))))) | ||
| 1211 | (inputs (cargo-inputs 'popsicle)) | ||
| 1212 | (home-page "https://github.com/pop-os/popsicle") | ||
| 1213 | (synopsis "Multiple USB file flasher") | ||
| 1214 | (description | ||
| 1215 | "Popsicle is a utility for flashing multiple devices in parallel, written | ||
| 1216 | in rust.") | ||
| 1217 | (license license:expat))) | ||
| 1218 | |||
| 1178 | (define-public diffr | 1219 | (define-public diffr |
| 1179 | (package | 1220 | (package |
| 1180 | (name "diffr") | 1221 | (name "diffr") |
