mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-18 17:11:39 +01:00
add adguardian package
This commit is contained in:
parent
3bc1e3e76e
commit
0359c7cc0c
3 changed files with 25 additions and 1 deletions
|
@ -62,6 +62,7 @@
|
||||||
}@attrs: {
|
}@attrs: {
|
||||||
packages.x86_64-linux.iso = self.nixosConfigurations.iso.config.system.build.isoImage;
|
packages.x86_64-linux.iso = self.nixosConfigurations.iso.config.system.build.isoImage;
|
||||||
packages.x86_64-linux.jmri = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/jmri { };
|
packages.x86_64-linux.jmri = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/jmri { };
|
||||||
|
packages.x86_64-linux.adguardian-term = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/adguardian-term { };
|
||||||
hydraJobs = self.packages;
|
hydraJobs = self.packages;
|
||||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
22
pkgs/adguardian-term/default.nix
Normal file
22
pkgs/adguardian-term/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ lib, rustPlatform, fetchFromGitHub }:
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "adguardian-term";
|
||||||
|
version = "1.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "lissy93";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-UZIwVvBBBj82IxGuZPKaNc/UZI1DAh5/5ni3fjiRF4o=";
|
||||||
|
};
|
||||||
|
cargoSha256 = "sha256-5JBX7zCKlaMj2+/YudQLapb3WzDEH7l3pqgN8/M2IEs=";
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ self, pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@
|
||||||
rustc
|
rustc
|
||||||
rustfmt
|
rustfmt
|
||||||
gcc
|
gcc
|
||||||
|
self.packages.x86_64-linux.adguardian-term
|
||||||
|
|
||||||
# libs
|
# libs
|
||||||
libyubikey
|
libyubikey
|
||||||
|
|
Loading…
Reference in a new issue