nixpkgs/pkgs/applications/misc/wallust/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
816 B
Nix
Raw Normal View History

2023-07-21 12:59:38 +00:00
{ lib
, fetchFromGitea
2023-07-21 12:59:38 +00:00
, rustPlatform
2023-10-04 10:56:16 +00:00
, nix-update-script
2023-07-21 12:59:38 +00:00
}:
let
version = "2.9.0";
in
rustPlatform.buildRustPackage {
pname = "wallust";
inherit version;
2023-06-14 21:48:39 +00:00
src = fetchFromGitea {
domain = "codeberg.org";
owner = "explosion-mental";
repo = "wallust";
2023-06-14 21:48:39 +00:00
rev = version;
hash = "sha256-AuZRt02bFr7GzI7qe4giGgjlXK/WX+gmF4+QwD0ChXk=";
2023-06-14 21:48:39 +00:00
};
cargoHash = "sha256-O9w18ae83mgF3zjk0WUMeu16Ap7CF2ubuPnOqeCt4Nw=";
2023-10-04 10:56:16 +00:00
passthru.updateScript = nix-update-script { };
2023-06-14 21:48:39 +00:00
meta = {
2023-07-17 01:38:29 +00:00
description = "A better pywal";
homepage = "https://codeberg.org/explosion-mental/wallust";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ onemoresuza iynaix ];
downloadPage = "https://codeberg.org/explosion-mental/wallust/releases/tag/${version}";
2023-06-14 21:48:39 +00:00
mainProgram = "wallust";
};
}