mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
nq: init at 0.1
Unix command line queue utility.
This commit is contained in:
parent
5691a2a498
commit
4faeca0cbd
25
pkgs/tools/system/nq/default.nix
Normal file
25
pkgs/tools/system/nq/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, lib, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nq-${version}";
|
||||
version = "0.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "chneukirchen";
|
||||
repo = "nq";
|
||||
rev = "v${version}";
|
||||
sha256 = "17n0yqhpsys3s872ki5rf82ky73ylahz6xi9x0rfrv7fqr5nzsz4";
|
||||
};
|
||||
makeFlags = "PREFIX=$(out)";
|
||||
postPatch = ''
|
||||
sed -i tq \
|
||||
-e 's|\bfq\b|'$out'/bin/fq|g' \
|
||||
-e 's|\bnq\b|'$out'/bin/nq|g'
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "Unix command line queue utility";
|
||||
homepage = "https://github.com/chneukirchen/nq";
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ cstrahan ];
|
||||
};
|
||||
}
|
@ -2519,6 +2519,8 @@ let
|
||||
pythonPackages = python3Packages;
|
||||
};
|
||||
|
||||
nq = callPackage ../tools/system/nq { };
|
||||
|
||||
nsjail = callPackage ../tools/security/nsjail {};
|
||||
|
||||
nss_pam_ldapd = callPackage ../tools/networking/nss-pam-ldapd {};
|
||||
|
Loading…
Reference in New Issue
Block a user