nixos-configs/packages/trash-d/default.nix

49 lines
823 B
Nix
Raw Normal View History

2024-06-13 22:27:54 -04:00
{
dmd,
dub,
trash-d-src,
ronn,
stdenv,
...
}: let
inherit (builtins) fromJSON readFile;
tag = (fromJSON (readFile "${trash-d-src}/dub.json")).version;
in
stdenv.mkDerivation {
pname = "trash";
version = "${tag}+${trash-d-src.shortRev}";
src = trash-d-src;
chore: update flake.lock Flake Inputs: • Updated input 'agsV2': 'github:Aylur/ags/89b8918' (2024-10-15) → 'github:Aylur/ags/a93f0ac' (2024-10-16) • Updated input 'astal': 'github:Aylur/astal/dcc3870' (2024-10-15) → 'github:Aylur/astal/f763c44' (2024-10-18) • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=601219f' (2024-10-14) → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=1016597' (2024-10-18) • Updated input 'home-manager': 'github:nix-community/home-manager/e1aec54' (2024-10-14) → 'github:nix-community/home-manager/09a0c0c' (2024-10-18) • Updated input 'hyprland': 'github:hyprwm/Hyprland/01c2ff3' (2024-10-14) → 'github:hyprwm/Hyprland/0e630e9' (2024-10-17) • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS/2317058' (2024-10-15) → 'github:Jovian-Experiments/Jovian-NixOS/bb69165' (2024-10-17) • Updated input 'libratbag-src': 'github:libratbag/libratbag/9f4789f' (2024-09-24) → 'github:libratbag/libratbag/dcc5def' (2024-10-16) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/2c8d8bb' (2024-10-14) → 'github:fufexan/nix-gaming/79f0e31' (2024-10-18) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/5633bcf' (2024-10-09) → 'github:NixOS/nixpkgs/5785b6b' (2024-10-16) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/b9770ad' (2024-10-15) → 'github:nix-community/nixpkgs-wayland/2535bdd' (2024-10-18) • Updated input 'nvim-theme-src': 'github:Mofiqul/dracula.nvim/fdf503e' (2024-07-12) → 'github:Mofiqul/dracula.nvim/94fa788' (2024-10-16) • Updated input 'tuya-local-src': 'github:make-all/tuya-local/c9a8913' (2024-10-15) → 'github:make-all/tuya-local/587d622' (2024-10-18) Docker Images: • vegardit/gitea-act-runner dind-latest: sha256:06ab3f910c5015792942d8c338fd865d3dff1163cea2e8c3efd32330c7775802 → sha256:74c7cddafcf4c8cadad1317f043cd7ed9f675617197051d38812b262a7afd82b • postgres 14: sha256:626046694f31a4a6a92511bbeca43f7e78ea8c6ae2f2ed70bbaa9b9abd5b67ab → sha256:c9fcaef49a1ca7deae24437c705bf7485922f8a768a140006c5d8abb3f6cac7b • codeberg.org/forgejo/forgejo 9: sha256:1f7c844e1c723ba09411a31f9a3ef8f551e6d77c9ff4f200ef36b870e8c8a3d7 → sha256:085092799d1b25370956972185145607246d692da64c18ef55c2da20eecc855d • rssbridge/rss-bridge latest: sha256:c4fd6ad6e395310cc5d49665bfca638d09ba6cf9d03ad60a5c36361cb7c05251 → sha256:da785b43f43e4f718c525d71453d6b7011db98c68434f02315cb7ee1ecc88889 • nextcloud fpm: sha256:38149fa4fefab1e56a976d37db0bb22a049c4e6faf4e1d755fdc536ff5e7f69a → sha256:29088f7a332ae59f57b0b121bd9d6c6cf0dda1c536c8b7c889f28182e1c26601 • nginx latest: sha256:d2eb56950b84efe34f966a2b92efb1a1a2ea53e7e93b94cdf45a27cf3cd47fc0 → sha256:28402db69fec7c17e179ea87882667f1e054391138f77ffaf0c3eb388efc3ffb • onlyoffice/documentserver latest: sha256:b9e3c35eab182d3de822a53b109b0f27070f6eacea3b1388b9c50d1182f638f2 → sha256:2b0180b8ca27b36f27e0ddea0e9e8a5b1d40fcf478dc31f7e2efcfb9ce1bf42a • ghcr.io/linuxserver/bazarr latest: sha256:d7d431c29d1c94e7009b6b8b1eb5078689416278b5e6664cad864b28b9ead345 → sha256:5baf571c177eda579fbaa080ade2135bce9097bc3c165f92d30e399df64d0bc4 • ghcr.io/linuxserver/sabnzbd latest: sha256:f87f9d4fa0e19f8e7b292638b3fa89cafc4a96d858fbda8106e3cea6343432c1 → sha256:ab4fc46cb5e2702f640b28bdc9b460c98b73a9898dd61f7068229f140c26409a • docker.io/fallenbagel/jellyseerr latest: sha256:319b09a7db75d697bedc41f6784efd47b8f213a26819d636dec2050efe816567 → sha256:8ff28894f9fd28bf36626fb98ddd0ee79d778de22a5dc75d69a845281e19115b Firefox Addons: bitwarden: 2024.9.1 -> 2024.10.0
2024-10-18 19:35:08 -04:00
buildInputs = [
dub
ronn
2024-10-21 01:39:41 -04:00
dmd
chore: update flake.lock Flake Inputs: • Updated input 'agsV2': 'github:Aylur/ags/89b8918' (2024-10-15) → 'github:Aylur/ags/a93f0ac' (2024-10-16) • Updated input 'astal': 'github:Aylur/astal/dcc3870' (2024-10-15) → 'github:Aylur/astal/f763c44' (2024-10-18) • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=601219f' (2024-10-14) → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=1016597' (2024-10-18) • Updated input 'home-manager': 'github:nix-community/home-manager/e1aec54' (2024-10-14) → 'github:nix-community/home-manager/09a0c0c' (2024-10-18) • Updated input 'hyprland': 'github:hyprwm/Hyprland/01c2ff3' (2024-10-14) → 'github:hyprwm/Hyprland/0e630e9' (2024-10-17) • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS/2317058' (2024-10-15) → 'github:Jovian-Experiments/Jovian-NixOS/bb69165' (2024-10-17) • Updated input 'libratbag-src': 'github:libratbag/libratbag/9f4789f' (2024-09-24) → 'github:libratbag/libratbag/dcc5def' (2024-10-16) • Updated input 'nix-gaming': 'github:fufexan/nix-gaming/2c8d8bb' (2024-10-14) → 'github:fufexan/nix-gaming/79f0e31' (2024-10-18) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/5633bcf' (2024-10-09) → 'github:NixOS/nixpkgs/5785b6b' (2024-10-16) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/b9770ad' (2024-10-15) → 'github:nix-community/nixpkgs-wayland/2535bdd' (2024-10-18) • Updated input 'nvim-theme-src': 'github:Mofiqul/dracula.nvim/fdf503e' (2024-07-12) → 'github:Mofiqul/dracula.nvim/94fa788' (2024-10-16) • Updated input 'tuya-local-src': 'github:make-all/tuya-local/c9a8913' (2024-10-15) → 'github:make-all/tuya-local/587d622' (2024-10-18) Docker Images: • vegardit/gitea-act-runner dind-latest: sha256:06ab3f910c5015792942d8c338fd865d3dff1163cea2e8c3efd32330c7775802 → sha256:74c7cddafcf4c8cadad1317f043cd7ed9f675617197051d38812b262a7afd82b • postgres 14: sha256:626046694f31a4a6a92511bbeca43f7e78ea8c6ae2f2ed70bbaa9b9abd5b67ab → sha256:c9fcaef49a1ca7deae24437c705bf7485922f8a768a140006c5d8abb3f6cac7b • codeberg.org/forgejo/forgejo 9: sha256:1f7c844e1c723ba09411a31f9a3ef8f551e6d77c9ff4f200ef36b870e8c8a3d7 → sha256:085092799d1b25370956972185145607246d692da64c18ef55c2da20eecc855d • rssbridge/rss-bridge latest: sha256:c4fd6ad6e395310cc5d49665bfca638d09ba6cf9d03ad60a5c36361cb7c05251 → sha256:da785b43f43e4f718c525d71453d6b7011db98c68434f02315cb7ee1ecc88889 • nextcloud fpm: sha256:38149fa4fefab1e56a976d37db0bb22a049c4e6faf4e1d755fdc536ff5e7f69a → sha256:29088f7a332ae59f57b0b121bd9d6c6cf0dda1c536c8b7c889f28182e1c26601 • nginx latest: sha256:d2eb56950b84efe34f966a2b92efb1a1a2ea53e7e93b94cdf45a27cf3cd47fc0 → sha256:28402db69fec7c17e179ea87882667f1e054391138f77ffaf0c3eb388efc3ffb • onlyoffice/documentserver latest: sha256:b9e3c35eab182d3de822a53b109b0f27070f6eacea3b1388b9c50d1182f638f2 → sha256:2b0180b8ca27b36f27e0ddea0e9e8a5b1d40fcf478dc31f7e2efcfb9ce1bf42a • ghcr.io/linuxserver/bazarr latest: sha256:d7d431c29d1c94e7009b6b8b1eb5078689416278b5e6664cad864b28b9ead345 → sha256:5baf571c177eda579fbaa080ade2135bce9097bc3c165f92d30e399df64d0bc4 • ghcr.io/linuxserver/sabnzbd latest: sha256:f87f9d4fa0e19f8e7b292638b3fa89cafc4a96d858fbda8106e3cea6343432c1 → sha256:ab4fc46cb5e2702f640b28bdc9b460c98b73a9898dd61f7068229f140c26409a • docker.io/fallenbagel/jellyseerr latest: sha256:319b09a7db75d697bedc41f6784efd47b8f213a26819d636dec2050efe816567 → sha256:8ff28894f9fd28bf36626fb98ddd0ee79d778de22a5dc75d69a845281e19115b Firefox Addons: bitwarden: 2024.9.1 -> 2024.10.0
2024-10-18 19:35:08 -04:00
];
2024-06-13 22:27:54 -04:00
buildPhase = ''
# https://github.com/svanderburg/node2nix/issues/217#issuecomment-751311272
export HOME=$(mktemp -d)
dub build
'';
installPhase = ''
mkdir -p $out/bin $out/man/man1
cp -a ./build/trash $out/bin/
ronn --roff --pipe MANUAL.md > $out/man/man1/trash.1
'';
2024-11-21 23:33:37 -05:00
meta = {
mainProgram = "trash";
platforms = [
"x86_64-linux"
"i686-linux"
"x86_64-darwin"
];
};
2024-06-13 22:27:54 -04:00
}