mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
Merge pull request #208930 from LeSuisse/smokeping-2.8.2
smokeping: 2.6.11 -> 2.8.2
This commit is contained in:
commit
35e88e278b
@ -1,16 +1,26 @@
|
||||
{ lib, stdenv, fetchurl, fping, rrdtool, perlPackages, nixosTests }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, fping, rrdtool, perlPackages, autoreconfHook, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "smokeping";
|
||||
version = "2.6.11";
|
||||
version = "2.8.2";
|
||||
src = fetchurl {
|
||||
url = "https://oss.oetiker.ch/smokeping/pub/smokeping-${version}.tar.gz";
|
||||
sha256 = "1p9hpa2zs33p7hzrds80kwrm5255s0869v3s3qmsyx2sx63c7czj";
|
||||
sha256 = "sha256-KeYRGLRV4juWmtpfjiq0MtPi74fUr+LIbeSgPXGItuo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://src.fedoraproject.org/rpms/smokeping/raw/4ebf1921706a5a29c758fdce2f59cc35652c944a/f/smokeping-2.8.2-no-3rd-party.patch";
|
||||
hash = "sha256-97rQ4m9HHl3lIpQyjZvu+gZSrNIB2pckxmopCQAQPp0=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ rrdtool ] ++
|
||||
(with perlPackages; [ perl FCGI CGI CGIFast ConfigGrammar DigestHMAC NetTelnet
|
||||
NetOpenSSH NetSNMP LWP IOTty fping NetDNS perlldap ]);
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/htdocs/smokeping.fcgi.dist $out/htdocs/smokeping.fcgi
|
||||
'';
|
||||
@ -19,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "Network latency collector";
|
||||
homepage = "http://oss.oetiker.ch/smokeping";
|
||||
homepage = "https://oss.oetiker.ch/smokeping";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.erictapen ];
|
||||
|
Loading…
Reference in New Issue
Block a user