1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/applications/misc/wallust/default.nix

35 lines
854 B
Nix
Raw Normal View History

2023-07-21 08:59:38 -04:00
{ lib
, fetchFromGitea
2023-07-21 08:59:38 -04:00
, rustPlatform
2023-10-04 06:56:16 -04:00
, nix-update-script
2023-07-21 08:59:38 -04:00
}:
let
2023-09-24 17:35:07 -04:00
version = "2.7.1";
in
rustPlatform.buildRustPackage {
pname = "wallust";
inherit version;
2023-06-14 17:48:39 -04:00
src = fetchFromGitea {
domain = "codeberg.org";
owner = "explosion-mental";
repo = "wallust";
2023-06-14 17:48:39 -04:00
rev = version;
2023-09-24 17:35:07 -04:00
hash = "sha256-WhL2HWM1onRrCqWJPLnAVMd/f/xfLrK3mU8jFSLFjAM=";
2023-06-14 17:48:39 -04:00
};
2023-10-04 06:56:16 -04:00
cargoSha256 = "sha256-pR2vdqMGJZ6zvXwwKUIPjb/lWzVgYqQ7C7/sk/+usc4=";
passthru.updateScript = nix-update-script { };
2023-06-14 17:48:39 -04:00
meta = {
2023-07-16 21:38:29 -04: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}";
platforms = lib.platforms.unix;
2023-06-14 17:48:39 -04:00
mainProgram = "wallust";
};
}