nixos-config/pkgs/adguardian-term/default.nix

24 lines
691 B
Nix
Raw Normal View History

2023-05-31 14:32:33 +02:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "adguardian-term";
2023-06-08 17:59:52 +02:00
version = "1.5.0";
2023-05-31 14:32:33 +02:00
src = fetchFromGitHub {
owner = "lissy93";
repo = pname;
rev = version;
2023-06-08 17:59:52 +02:00
hash = "sha256-r7dh31fZgcUBffzwoBqIoV9XhZOjJRb9aWZUuuiz7y8=";
2023-05-31 14:32:33 +02:00
};
2023-06-08 17:59:52 +02:00
cargoSha256 = "sha256-GB3CQ9VPBkKbT5Edq/jJlGEkVGICWSQloIt+nkHRDJU=";
2023-05-31 14:32:33 +02:00
meta = with lib; {
description = "Terminal-based, real-time traffic monitoring and statistics for your AdGuard Home instance Resources";
homepage = "https://github.com/lissy93/adguardian-term";
license = with licenses; [ mit ];
maintainers = with maintainers; [ therealr5 ];
2023-07-30 19:41:51 +02:00
mainProgram = "adguardian";
2023-05-31 14:32:33 +02:00
};
}