mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 21:18:28 +03:00
hamtransfer: init at unstable-2024-04-05
This commit is contained in:
parent
5467a90a5d
commit
e977cca659
42
pkgs/by-name/ha/hamtransfer/package.nix
Normal file
42
pkgs/by-name/ha/hamtransfer/package.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, protobuf
|
||||
, sqlite
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "hamtransfer";
|
||||
version = "unstable-2024-04-05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ThomasHabets";
|
||||
repo = "hamtransfer";
|
||||
rev = "6b0ac28e0b8cdcc3ac9aba9cd6115e48c4f26c1e";
|
||||
hash = "sha256-yZwbFjs+mnTbU+75dwRhVjvXXoHQuzgE9GlliUQZV1s=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-lFzsURGhEcuTL6dHt4/l54eT3mD7H8tsW/+unisdjKY=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
protobuf
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
sqlite
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/downloader $out/bin/hamtransfer-downloader
|
||||
mv $out/bin/uploader $out/bin/hamtransfer-uploader
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for transferring files over amateur radio using modern techniques";
|
||||
homepage = "https://github.com/ThomasHabets/hamtransfer";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ matthewcroughan sarcasticadmin pkharvey ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user