1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2024-12-29 18:43:52 +00:00
ultima/modules/nixos/services/transmission/torque.nix

17 lines
375 B
Nix
Raw Permalink Normal View History

2024-12-03 14:20:37 +00:00
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "torque";
dontUnpack = true;
src = fetchurl {
url = "https://raw.githubusercontent.com/dylanaraps/torque/refs/heads/master/torque";
2024-12-03 14:20:37 +00:00
sha256 = "sha256-4PoO7Vn1/Lu2uB3UttH1PJbSMBq/dE+oJl8OoQ4YQC4=";
};
installPhase = ''
mkdir -p $out/bin
cp $src $out/bin/torque
chmod +x $out/bin/torque
'';
}