python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / pv / default.nix
blob4438662de38564550c40b9913f51a032789e609f
1 { lib
2 , stdenv
3 , fetchurl
4 , fetchpatch
5 }:
7 stdenv.mkDerivation rec {
8   pname = "pv";
9   version = "1.6.20";
11   src = fetchurl {
12     url = "https://www.ivarch.com/programs/sources/pv-${version}.tar.bz2";
13     sha256 = "00y6zla8h653sn4axgqz7rr0x79vfwl62a7gn6lzn607zwg9acg8";
14   };
16   patches = [
17     # Fix build on aarch64-darwin using patch from Homebrew
18     (fetchpatch {
19       url = "https://raw.githubusercontent.com/Homebrew/homebrew-core/0780f1df9fdbd8914ff50ac24eb0ec0d3561c1b7/Formula/pv.rb";
20       sha256 = "001xayskfprri4s2gd3bqwajw6nz6nv0ggb0835par7q7bsd0dzr";
21     })
22   ];
24   meta = {
25     homepage = "http://www.ivarch.com/programs/pv";
26     description = "Tool for monitoring the progress of data through a pipeline";
27     license = lib.licenses.artistic2;
28     maintainers = with lib.maintainers; [ ];
29     platforms = with lib.platforms; all;
30   };