nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit d499a533f65d0685fc795918e4a11f740c9f6ca5
parent 35c3f9ef5d79cd19e5a0d3f2ad5a92a237c1809b
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Wed,  9 Mar 2022 23:13:17 +0300

Add nmtree

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/nmtree/default.nix | 28++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -291,6 +291,7 @@ lib.makeScope newScope ( miband4 = callPackage ./misc/miband4 { }; morse-talk = callPackage ./misc/morse-talk { }; musig = callPackage ./misc/musig { }; + nmtree = callPackage ./misc/nmtree { }; objlab = callPackage ./misc/objlab { }; playonmac = callPackage ./misc/playonmac { }; pnoise = callPackage ./misc/pnoise { }; diff --git a/pkgs/misc/nmtree/default.nix b/pkgs/misc/nmtree/default.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, libnbcompat }: + +stdenv.mkDerivation rec { + pname = "nmtree"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "archiecobbs"; + repo = pname; + rev = version; + hash = "sha256-0NlrWnSi0Eyz9WlTX1OpU3dHpgZMOF0rtf9cY5mLDkc="; + }; + + nativeBuildInputs = [ autoreconfHook ]; + + buildInputs = [ libnbcompat ]; + + NIX_CFLAGS_COMPILE = "-Wno-format-security"; + + meta = with lib; { + description = "NetBSD's mtree(8) utility"; + inherit (src.meta) homepage; + license = licenses.free; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.linux; + skip.ci = true; + }; +}