1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
10 rev = "${pname}-${version}";
11 sha256 = "sha256-G3LzbV3b1Y/2SPIBS1kZDuLuGF5gV/H1LFBRhevpdjU=";
14 cargoHash = "sha256-ebLVyUB65fW8BWctxXnYxrnl/2IESd4YJXeiMsMXn9s=";
17 install -D udpt.toml $out/share/udpt/udpt.toml
21 description = "Lightweight UDP torrent tracker";
22 homepage = "https://naim94a.github.io/udpt";
23 license = lib.licenses.gpl3;
24 platforms = lib.platforms.all;
25 maintainers = with lib.maintainers; [ makefu ];
26 mainProgram = "udpt-rs";