lemurs: 0.3.2-unstable-2024-07-24 -> 0.4.0; use versionCheckHook (#384243)

This commit is contained in:
Felix Bühler
2025-02-23 09:52:05 +01:00
committed by GitHub
+8 -12
View File
@@ -2,25 +2,24 @@
fetchFromGitHub,
lib,
bash,
lemurs,
linux-pam,
rustPlatform,
systemdMinimal,
testers,
versionCheckHook,
}:
rustPlatform.buildRustPackage {
rustPlatform.buildRustPackage rec {
pname = "lemurs";
version = "0.3.2-unstable-2024-07-24";
version = "0.4.0";
src = fetchFromGitHub {
owner = "coastalwhite";
repo = "lemurs";
rev = "1d4be7d0c3f528a0c1e9326ac77f1e8a17161c83";
hash = "sha256-t/riJpgy0bD5CU8Zkzket4Gks2JXXSLRreMlrxlok0c=";
tag = "v${version}";
hash = "sha256-dtAmgzsUhn3AfafWbCaaog0S1teIy+8eYtaHBhvLfLI=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-Cwgu30rGe1/Mm4FEEH11OTtTHUlBNwl5jVzmJg5qQe8=";
cargoHash = "sha256-XoGtIHYCGXNuwnpDTU7NbZAs6rCO+69CAG89VCv9aAc=";
buildInputs = [
bash
@@ -28,11 +27,8 @@ rustPlatform.buildRustPackage {
systemdMinimal
];
passthru.tests.version = testers.testVersion {
package = lemurs;
# Package version is now different from the version that lemurs reports itself as.
version = "0.3.2";
};
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
meta = {
description = "Customizable TUI display/login manager written in Rust";