Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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";
};
})