]>
Commit | Line | Data |
---|---|---|
7800f4d0 IB |
1 | { rustPlatform, defaultCrateOverrides, fetchFromGitHub, stdenv, ncurses }: |
2 | rustPlatform.buildRustPackage rec { | |
3 | name = "mates-${version}"; | |
4 | version = "4973303ee9305c8b7e05b8724d7105a277524364"; | |
5 | ||
6 | src = fetchFromGitHub { | |
7 | owner = "pimutils"; | |
8 | repo = "mates.rs"; | |
9 | rev = "${version}"; | |
10 | sha256 = "126ghw8bsp7jpx6vxlx7k3bba841prig41skdqdap4s8i4dx4f61"; | |
11 | }; | |
12 | ||
13 | cargoSha256 = "0zgn14i32zx6imi40dmkisns81cdw75869dd3vr1kkdjkrfs3l1q"; | |
14 | ||
15 | crateOverrides = { | |
16 | mates = attrs: { buildInputs = [ ncurses ]; }; | |
17 | }; | |
18 | meta = with stdenv.lib; { | |
19 | description = "A fast line-oriented regex search tool, similar to ag and ack"; | |
20 | homepage = https://github.com/BurntSushi/ripgrep; | |
21 | license = licenses.unlicense; | |
22 | maintainers = [ maintainers.tailhook ]; | |
23 | platforms = platforms.all; | |
24 | }; | |
25 | } |