mirror of
https://github.com/FliegendeWurst/nur-packages.git
synced 2024-11-09 10:50:39 +00:00
q: init at 0.6.0
will probably open a nixpkgs PR later
This commit is contained in:
parent
c52e248c2e
commit
f2f61f83d9
@ -17,6 +17,7 @@
|
|||||||
diskgraph = pkgs.callPackage ./pkgs/diskgraph { };
|
diskgraph = pkgs.callPackage ./pkgs/diskgraph { };
|
||||||
freqtop = pkgs.callPackage ./pkgs/freqtop { };
|
freqtop = pkgs.callPackage ./pkgs/freqtop { };
|
||||||
map = pkgs.callPackage ./pkgs/map { };
|
map = pkgs.callPackage ./pkgs/map { };
|
||||||
|
q = pkgs.callPackage ./pkgs/q { };
|
||||||
ripgrep-all = pkgs.callPackage ./pkgs/ripgrep-all {
|
ripgrep-all = pkgs.callPackage ./pkgs/ripgrep-all {
|
||||||
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
28
pkgs/q/default.nix
Normal file
28
pkgs/q/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ buildGoModule, fetchFromGitHub, lib }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "q";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "natesales";
|
||||||
|
repo = "q";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1qvpw21b7w3awa37vy14xvw4ai3nwrq0qd7gnpl4vx4nd9m5f970";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "1mv533hbs6bgfzrgnpbp3b1rijc7xdn93jnr8lksh8z7ddkw44wc";
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-X main.version=${version}"
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = false; # requires network access
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Tiny command line DNS client with support for UDP, TCP, DoT, DoH, DoQ and ODoH";
|
||||||
|
homepage = "https://github.com/natesales/q";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = with maintainers; [ fliegendewurst ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user