depot/third_party/nixpkgs/pkgs/by-name/ar/ariang/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

41 lines
839 B
Nix

{
lib,
fetchFromGitHub,
buildNpmPackage,
nix-update-script,
}:
buildNpmPackage rec {
pname = "ariang";
version = "1.3.10";
src = fetchFromGitHub {
owner = "mayswind";
repo = "AriaNg";
rev = version;
hash = "sha256-YABoDBPrxII0uw4Cyy1A4AcLQ3Uo28dJa/F4LTI7f5Y=";
};
npmDepsHash = "sha256-cNTkdrJuXMhcBbbCYJ9Xs639T0QWUbhRABD2gQ2cfjM=";
makeCacheWritable = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share
cp -r dist $out/share/ariang
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Modern web frontend making aria2 easier to use";
homepage = "http://ariang.mayswind.net/";
license = licenses.mit;
maintainers = with maintainers; [ stunkymonkey ];
platforms = platforms.unix;
};
}