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
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2023-07-15 17:15:38 +00:00
|
|
|
pname = "wallust";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.7.1";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "codeberg.org";
|
|
|
|
owner = "explosion-mental";
|
|
|
|
repo = pname;
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-WhL2HWM1onRrCqWJPLnAVMd/f/xfLrK3mU8jFSLFjAM=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
cargoSha256 = "sha256-pR2vdqMGJZ6zvXwwKUIPjb/lWzVgYqQ7C7/sk/+usc4=";
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2023-08-04 22:07:22 +00:00
|
|
|
description = "A better pywal";
|
|
|
|
homepage = "https://codeberg.org/explosion-mental/wallust";
|
2023-07-15 17:15:38 +00:00
|
|
|
license = licenses.mit;
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with 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
|
|
|
platforms = platforms.unix;
|
|
|
|
mainProgram = "wallust";
|
|
|
|
};
|
|
|
|
}
|