nur-packages

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

default.nix (715B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   autoreconfHook,
      6   libnbcompat,
      7 }:
      8 
      9 stdenv.mkDerivation (finalAttrs: {
     10   pname = "nmtree";
     11   version = "1.0.0";
     12 
     13   src = fetchFromGitHub {
     14     owner = "archiecobbs";
     15     repo = "nmtree";
     16     rev = finalAttrs.version;
     17     hash = "sha256-0NlrWnSi0Eyz9WlTX1OpU3dHpgZMOF0rtf9cY5mLDkc=";
     18   };
     19 
     20   nativeBuildInputs = [ autoreconfHook ];
     21 
     22   buildInputs = [ libnbcompat ];
     23 
     24   env.NIX_CFLAGS_COMPILE = "-Wno-format-security";
     25 
     26   meta = {
     27     description = "NetBSD's mtree(8) utility";
     28     homepage = "https://github.com/archiecobbs/nmtree";
     29     license = lib.licenses.free;
     30     maintainers = [ lib.maintainers.sikmir ];
     31     platforms = lib.platforms.linux;
     32     skip.ci = true;
     33   };
     34 })