Add q
This commit is contained in:
parent
9c529749fc
commit
62195b8168
4 changed files with 27 additions and 0 deletions
|
@ -6,3 +6,4 @@
|
||||||
* [cliclick](https://github.com/BlueM/cliclick)
|
* [cliclick](https://github.com/BlueM/cliclick)
|
||||||
* [phantomjs](https://github.com/ariya/phantomjs)
|
* [phantomjs](https://github.com/ariya/phantomjs)
|
||||||
* [proximity-sort](https://github.com/jonhoo/proximity-sort)
|
* [proximity-sort](https://github.com/jonhoo/proximity-sort)
|
||||||
|
* [q](https://github.com/natesales/q)
|
||||||
|
|
|
@ -7,4 +7,5 @@ let custom = super.callPackage ./packages.nix { }; in
|
||||||
inherit (custom) cliclick;
|
inherit (custom) cliclick;
|
||||||
inherit (custom) phantomjs;
|
inherit (custom) phantomjs;
|
||||||
inherit (custom) proximity-sort;
|
inherit (custom) proximity-sort;
|
||||||
|
inherit (custom) q;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,4 +5,5 @@
|
||||||
cliclick = import ./packages/cliclick.nix { inherit system lib pkgs; };
|
cliclick = import ./packages/cliclick.nix { inherit system lib pkgs; };
|
||||||
phantomjs = import ./packages/phantomjs.nix { inherit system lib pkgs; };
|
phantomjs = import ./packages/phantomjs.nix { inherit system lib pkgs; };
|
||||||
proximity-sort = import ./packages/proximity-sort.nix { inherit system lib pkgs; };
|
proximity-sort = import ./packages/proximity-sort.nix { inherit system lib pkgs; };
|
||||||
|
q = import ./packages/q.nix { inherit system lib pkgs; };
|
||||||
}
|
}
|
||||||
|
|
24
packages/q.nix
Normal file
24
packages/q.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ system, lib, pkgs }:
|
||||||
|
|
||||||
|
pkgs.buildGoModule rec {
|
||||||
|
pname = "q";
|
||||||
|
version = "0.8.0";
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "natesales";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-Fh91SeyXFTXQS1E0w0Lb98mm5gas3xjpo3rSzUGKK1E=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-jBPCZ2vnI6gnRdnKkWzrh8mYwxp3Xfvyd28ZveAYZdc=";
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A tiny command line DNS client with support for UDP, TCP, DoT, DoH, DoQ and ODoH.";
|
||||||
|
homepage = "https://github.com/natesales/q";
|
||||||
|
license = [ licenses.gpl3Only ];
|
||||||
|
platforms = [ "x86_64-darwin" "aarch64-darwin" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue