Merge pull request #249594 from matthiasbeyer/update-pv

pv: 1.6.20 -> 1.7.24
This commit is contained in:
Guillaume Girol 2023-08-24 13:27:02 +00:00 committed by GitHub
commit bf7446672f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,31 +1,22 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
}:
stdenv.mkDerivation rec {
pname = "pv";
version = "1.6.20";
version = "1.7.24";
src = fetchurl {
url = "https://www.ivarch.com/programs/sources/pv-${version}.tar.bz2";
sha256 = "00y6zla8h653sn4axgqz7rr0x79vfwl62a7gn6lzn607zwg9acg8";
url = "https://www.ivarch.com/programs/sources/pv-${version}.tar.gz";
sha256 = "sha256-O/Q8WAnI1QBm6urqWhFfZQPFejjBUZdbcQqivuhXtl4=";
};
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";
})
];
meta = {
homepage = "http://www.ivarch.com/programs/pv";
homepage = "https://www.ivarch.com/programs/pv.shtml";
description = "Tool for monitoring the progress of data through a pipeline";
license = lib.licenses.artistic2;
maintainers = with lib.maintainers; [ ];
platforms = with lib.platforms; all;
maintainers = with lib.maintainers; [ matthiasbeyer ];
platforms = lib.platforms.all;
};
}