nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 1.0 kB view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 protobuf, 7 sqlite, 8}: 9 10rustPlatform.buildRustPackage { 11 pname = "hamtransfer"; 12 version = "0-unstable-2024-04-05"; 13 14 src = fetchFromGitHub { 15 owner = "ThomasHabets"; 16 repo = "hamtransfer"; 17 rev = "6b0ac28e0b8cdcc3ac9aba9cd6115e48c4f26c1e"; 18 hash = "sha256-yZwbFjs+mnTbU+75dwRhVjvXXoHQuzgE9GlliUQZV1s="; 19 }; 20 21 cargoHash = "sha256-/fsK8zgoq819vdHTK9GwzzgyP1ZNhQ78yKai5783XS8="; 22 23 nativeBuildInputs = [ 24 pkg-config 25 protobuf 26 ]; 27 28 buildInputs = [ 29 sqlite 30 ]; 31 32 postInstall = '' 33 mv $out/bin/downloader $out/bin/hamtransfer-downloader 34 mv $out/bin/uploader $out/bin/hamtransfer-uploader 35 ''; 36 37 meta = { 38 description = "Tool for transferring files over amateur radio using modern techniques"; 39 homepage = "https://github.com/ThomasHabets/hamtransfer"; 40 license = lib.licenses.gpl2Only; 41 maintainers = with lib.maintainers; [ 42 matthewcroughan 43 sarcasticadmin 44 pkharvey 45 ]; 46 }; 47}