blob: 22480bf818981effcc1e88f1bfb8919e618fa484 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "sunsetr";
version = "0.6.1";
src = fetchFromGitHub {
owner = "psi4j";
repo = "sunsetr";
tag = "v${finalAttrs.version}";
hash = "sha256-kFIfNVA1UJrle/5udi8+9uDgq9fArUdudM/v8QpGuaM=";
};
cargoLock.lockFile = ./Cargo.lock;
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
checkFlags = [
"--skip=config::tests::test_geo_toml_exists_before_config_creation"
];
meta = {
mainProgram = "sunsetr";
description = "Automatic blue light filter for Hyprland, Niri, and everything Wayland";
homepage = "https://github.com/psi4j/sunsetr";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.DoctorDalek1963 ];
};
})
|