about summary refs log blame commit diff
path: root/third_party/gitignoreSource/default.nix
blob: 150de7c990e4415a1601a0038d5e63f2535a8562 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

              
   







                                                                      
 

  






                                              
{ pkgs, ... }:

let
  gitignoreNix = import
    (pkgs.fetchFromGitHub {
      owner = "hercules-ci";
      repo = "gitignore";
      rev = "f9e996052b5af4032fe6150bba4a6fe4f7b9d698";
      sha256 = "0jrh5ghisaqdd0vldbywags20m2cxpkbbk5jjjmwaw0gr8nhsafv";
    })
    { inherit (pkgs) lib; };

in
{
  __functor = _: gitignoreNix.gitignoreSource;

  # expose extra functions here
  inherit (gitignoreNix)
    gitignoreFilter
    ;
}