2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitea
|
|
|
|
, rustPlatform
|
2023-10-09 19:29:22 +00:00
|
|
|
, nix-update-script
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
2023-10-19 13:55:26 +00:00
|
|
|
let
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "2.9.0";
|
2023-10-19 13:55:26 +00:00
|
|
|
in
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
pname = "wallust";
|
|
|
|
inherit version;
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "codeberg.org";
|
|
|
|
owner = "explosion-mental";
|
2023-10-19 13:55:26 +00:00
|
|
|
repo = "wallust";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = version;
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-AuZRt02bFr7GzI7qe4giGgjlXK/WX+gmF4+QwD0ChXk=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
cargoHash = "sha256-O9w18ae83mgF3zjk0WUMeu16Ap7CF2ubuPnOqeCt4Nw=";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
meta = {
|
2023-08-04 22:07:22 +00:00
|
|
|
description = "A better pywal";
|
|
|
|
homepage = "https://codeberg.org/explosion-mental/wallust";
|
2023-10-19 13:55:26 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ onemoresuza iynaix ];
|
2023-08-04 22:07:22 +00:00
|
|
|
downloadPage = "https://codeberg.org/explosion-mental/wallust/releases/tag/${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
mainProgram = "wallust";
|
|
|
|
};
|
|
|
|
}
|