Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
nix-update-script,
|
|
pkg-config,
|
|
openssl,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "alistral";
|
|
version = "0.5.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "RustyNova016";
|
|
repo = "Alistral";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-PffZx2rkOdwwhZ4LYE6ZiAWa68oZT3Gly6Is9gRPWdw=";
|
|
};
|
|
|
|
cargoHash = "sha256-FfTySXynezMs/Nkuai+jZCSJnIo5D3obh3LboYYGhVk=";
|
|
|
|
buildNoDefaultFeatures = true;
|
|
# Would be cleaner with an "--all-features" option
|
|
buildFeatures = [ "full" ];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
];
|
|
|
|
# Wants to create config file where it s not allowed
|
|
doCheck = false;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
homepage = "https://rustynova016.github.io/Alistral/";
|
|
changelog = "https://github.com/RustyNova016/Alistral/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
description = "Power tools for Listenbrainz";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
jopejoe1
|
|
RustyNova
|
|
];
|
|
mainProgram = "alistral";
|
|
};
|
|
})
|