diff options
| author | Sughosha <sughosha@disroot.org> | 2026-06-07 10:56:45 +0530 |
|---|---|---|
| committer | Sughosha <sughosha@disroot.org> | 2026-07-17 21:27:53 +0530 |
| commit | bbbf01a30be4f13ba03b096bd2b2fecf1902a420 (patch) | |
| tree | 44f5f6aef98d063f931e263e24e9dbb8a685d4a1 /gnu/packages/rust-apps.scm | |
| parent | 26c357257de8803112e8cf56b3f0db305e05aac1 (diff) | |
gnu: Add popsicle-gtk.
* gnu/packages/rust-apps.scm (popsicle-gtk): New variable.
Diffstat (limited to 'gnu/packages/rust-apps.scm')
| -rw-r--r-- | gnu/packages/rust-apps.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 685266e0815..393e0235b85 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm | |||
| @@ -1216,6 +1216,29 @@ similar to lsusb.") | |||
| 1216 | in rust.") | 1216 | in rust.") |
| 1217 | (license license:expat))) | 1217 | (license license:expat))) |
| 1218 | 1218 | ||
| 1219 | (define-public popsicle-gtk | ||
| 1220 | (package/inherit popsicle | ||
| 1221 | (name "popsicle-gtk") | ||
| 1222 | (arguments | ||
| 1223 | (substitute-keyword-arguments arguments | ||
| 1224 | ((#:cargo-build-flags _ '()) | ||
| 1225 | ''("--release" "-p" "popsicle_gtk")) | ||
| 1226 | ((#:phases phases) | ||
| 1227 | #~(modify-phases #$phases | ||
| 1228 | (replace 'install | ||
| 1229 | (lambda _ | ||
| 1230 | (install-file "target/release/popsicle-gtk" | ||
| 1231 | (string-append #$output "/bin")) | ||
| 1232 | (install-file "gtk/assets/com.system76.Popsicle.desktop" | ||
| 1233 | (string-append #$output "/share/applications")) | ||
| 1234 | (install-file "gtk/assets/com.system76.Popsicle.appdata.xml" | ||
| 1235 | (string-append #$output "/share/metainfo")) | ||
| 1236 | (copy-recursively "gtk/assets/icons" | ||
| 1237 | (string-append #$output | ||
| 1238 | "/share/icons/hicolor")))))))) | ||
| 1239 | (native-inputs (list clang `(,glib "bin") pkg-config)) | ||
| 1240 | (inputs (modify-inputs inputs (append gtk+))))) | ||
| 1241 | |||
| 1219 | (define-public diffr | 1242 | (define-public diffr |
| 1220 | (package | 1243 | (package |
| 1221 | (name "diffr") | 1244 | (name "diffr") |
