python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / fselect / default.nix
blobc58508f4195e0df203989401fd45e50c8440b38e
1 { lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, libiconv }:
3 rustPlatform.buildRustPackage rec {
4   pname = "fselect";
5   version = "0.8.1";
7   src = fetchFromGitHub {
8     owner = "jhspetersson";
9     repo = "fselect";
10     rev = version;
11     sha256 = "sha256-oJyaK39ZCY7RB1U2yBMJg0tvJxnLE5iRLSnywYe9LNU=";
12   };
14   cargoSha256 = "sha256-sT/WfnROBi4PNcEbs381cMGyKPRuQ3PdJ2kzr/paycQ=";
16   nativeBuildInputs = [ installShellFiles ];
17   buildInputs = lib.optional stdenv.isDarwin libiconv;
19   postInstall = ''
20     installManPage docs/fselect.1
21   '';
23   meta = with lib; {
24     description = "Find files with SQL-like queries";
25     homepage = "https://github.com/jhspetersson/fselect";
26     license = with licenses; [ asl20 mit ];
27     maintainers = with maintainers; [ Br1ght0ne ];
28   };