8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
29 lines
764 B
Nix
29 lines
764 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform, installShellFiles }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "fselect";
|
|
version = "0.6.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jhspetersson";
|
|
repo = "fselect";
|
|
rev = version;
|
|
sha256 = "0cgzvzdsy8vbiapgk1l5dp48c3kq0xmx53yfi486mx8nwvz3ksc0";
|
|
};
|
|
|
|
cargoSha256 = "0mjd9nmaggsszf0kx68yrvy3fqbn35v34c7q3584fv50ipqn6drb";
|
|
|
|
nativeBuildInputs = [ installShellFiles ];
|
|
|
|
postInstall = ''
|
|
installManPage docs/fselect.1
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Find files with SQL-like queries";
|
|
homepage = "https://github.com/jhspetersson/fselect";
|
|
license = with licenses; [ asl20 mit ];
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|