~aasg/nixexprs

ref: 61437e1c44b463cbb9b034fc1b2ce5d76f287ef1 nixexprs/pkgs/tools/text/drep/default.nix -rw-r--r-- 555 bytes
61437e1c — Aluísio Augusto Silva Gonçalves Replace stdenv.lib with lib 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ stdenv, lib, callPackage, defaultCrateOverrides, CoreServices }:

(callPackage ./Cargo.nix { }).workspaceMembers.drep.build.override {
  crateOverrides = defaultCrateOverrides // {
    drep = attrs: {
      buildInputs = lib.optional stdenv.isDarwin CoreServices;
      meta = with lib; {
        description = "A grep with runtime reloadable filters";
        homepage = "https://github.com/maxpert/drep";
        license = licenses.mit;
        maintainers = with maintainers; [ AluisioASG ];
        platforms = platforms.all;
      };
    };
  };
}