2021-09-13 02:36:41 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, fetchpatch
|
|
|
|
}:
|
2009-03-22 12:34:30 +00:00
|
|
|
|
2012-06-10 10:47:16 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-08-02 09:38:45 +00:00
|
|
|
pname = "pv";
|
2021-09-13 15:09:52 +00:00
|
|
|
version = "1.6.20";
|
2009-03-22 12:34:30 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-02 09:38:45 +00:00
|
|
|
url = "https://www.ivarch.com/programs/sources/pv-${version}.tar.bz2";
|
2021-09-13 03:20:37 +00:00
|
|
|
sha256 = "00y6zla8h653sn4axgqz7rr0x79vfwl62a7gn6lzn607zwg9acg8";
|
2009-03-22 12:34:30 +00:00
|
|
|
};
|
|
|
|
|
2021-09-13 02:36:41 +00:00
|
|
|
patches = [
|
|
|
|
# Fix build on aarch64-darwin using patch from Homebrew
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://raw.githubusercontent.com/Homebrew/homebrew-core/0780f1df9fdbd8914ff50ac24eb0ec0d3561c1b7/Formula/pv.rb";
|
|
|
|
sha256 = "001xayskfprri4s2gd3bqwajw6nz6nv0ggb0835par7q7bsd0dzr";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2009-03-22 12:34:30 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.ivarch.com/programs/pv";
|
2009-03-22 12:34:30 +00:00
|
|
|
description = "Tool for monitoring the progress of data through a pipeline";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.artistic2;
|
|
|
|
maintainers = with lib.maintainers; [ ];
|
|
|
|
platforms = with lib.platforms; all;
|
2009-03-22 12:34:30 +00:00
|
|
|
};
|
|
|
|
}
|