Files
nixpkgs/pkgs/by-name/sa/saldl/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

72 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
wafHook,
python3,
asciidoc,
docbook_xml_dtd_45,
docbook_xsl,
libxml2,
libxslt,
curl,
libevent,
fetchpatch,
}:
stdenv.mkDerivation rec {
pname = "saldl";
version = "41";
src = fetchFromGitHub {
owner = "saldl";
repo = "saldl";
rev = "v${version}";
sha256 = "sha256-PAX2MUyBWWU8kGkaeoCJteidgszh7ipwDJbrLXzVsn0=";
};
patches = [
(fetchpatch {
name = "update-waf-to-2-0-24.patch";
url = "https://github.com/saldl/saldl/commit/360c29d6c8cee5f7e608af42237928be429c3407.patch";
hash = "sha256-RBMnsUtd0BaZe/EXypDCK4gpUU0dgucWmOcJRn5/iTA=";
})
];
nativeBuildInputs = [
pkg-config
wafHook
python3
asciidoc
docbook_xml_dtd_45
docbook_xsl
libxml2
libxslt
];
buildInputs = [
curl
libevent
];
wafConfigureFlags = [
"--saldl-version ${version}"
"--no-werror"
];
outputs = [
"out"
"man"
];
meta = with lib; {
description = "CLI downloader optimized for speed and early preview";
homepage = "https://saldl.github.io";
license = licenses.agpl3Only;
maintainers = with maintainers; [ zowoq ];
platforms = platforms.all;
mainProgram = "saldl";
};
}