2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitea
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2023-07-15 17:15:38 +00:00
|
|
|
pname = "wallust";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "2.6.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-08-22 20:05:09 +00:00
|
|
|
hash = "sha256-xcsOOA6esvIhzeka8E9OvCT8aXMWWSHO4lNLtaocTSo=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
cargoSha256 = "sha256-YDIBn2fjlvNTYwMVn/MkID/EMmzz4oLieVgG2R95q4M=";
|
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-08-22 20:05:09 +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";
|
|
|
|
};
|
|
|
|
}
|