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
40 lines
927 B
Nix
40 lines
927 B
Nix
{
|
|
lib,
|
|
fetchFromGitea,
|
|
rustPlatform,
|
|
pkg-config,
|
|
openssl,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "jocalsend";
|
|
version = "1.61803398";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "git.kittencollective.com";
|
|
owner = "nebkor";
|
|
repo = "joecalsend";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-7Gl+G4BN3CgF0c/AEhI1OvRhveqGeFNmGRI3XRf6rAo=";
|
|
};
|
|
|
|
cargoHash = "sha256-prT1wO3ctnTfMHfICFcihB739lN/QXPH3AamIR6dM9A=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://git.kittencollective.com/nebkor/joecalsend";
|
|
description = "Rust terminal client for Localsend";
|
|
changelog = "https://git.kittencollective.com/nebkor/joecalsend/releases/tag/${finalAttrs.src.tag}";
|
|
license = with lib.licenses; [ unfreeRedistributable ];
|
|
maintainers = with lib.maintainers; [ Cameo007 ];
|
|
mainProgram = "jocalsend";
|
|
};
|
|
})
|