diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2021-12-18 18:34:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 18:34:17 +0100 |
commit | 3fb8f4025265332dae3e4445e3129c1b765eaaf1 (patch) | |
tree | 2a7cb6feaf459b8e4bd730252ac8ef7bd9f61681 /pkgs/tools/system/stress-ng | |
parent | 6332928cc4f68c816d1b306a46f62867f541ea0e (diff) | |
download | nixpkgs-3fb8f4025265332dae3e4445e3129c1b765eaaf1.tar nixpkgs-3fb8f4025265332dae3e4445e3129c1b765eaaf1.tar.gz nixpkgs-3fb8f4025265332dae3e4445e3129c1b765eaaf1.tar.bz2 nixpkgs-3fb8f4025265332dae3e4445e3129c1b765eaaf1.tar.lz nixpkgs-3fb8f4025265332dae3e4445e3129c1b765eaaf1.tar.xz nixpkgs-3fb8f4025265332dae3e4445e3129c1b765eaaf1.tar.zst nixpkgs-3fb8f4025265332dae3e4445e3129c1b765eaaf1.zip |
stress-ng: 0.13.03 -> 0.13.08
Upstream has moved to Github
Diffstat (limited to 'pkgs/tools/system/stress-ng')
-rw-r--r-- | pkgs/tools/system/stress-ng/default.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/tools/system/stress-ng/default.nix b/pkgs/tools/system/stress-ng/default.nix index 46a1fdfd8d3..c49d662a022 100644 --- a/pkgs/tools/system/stress-ng/default.nix +++ b/pkgs/tools/system/stress-ng/default.nix @@ -1,14 +1,16 @@ -{ lib, stdenv, fetchurl +{ lib, stdenv, fetchFromGitHub , attr, judy, keyutils, libaio, libapparmor, libbsd, libcap, libgcrypt, lksctp-tools, zlib }: stdenv.mkDerivation rec { pname = "stress-ng"; - version = "0.13.03"; + version = "0.13.08"; - src = fetchurl { - url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.xz"; - sha256 = "sha256-PmDWBeN42GqFkaMNblV77XCdgqWxlhY3gALNj/ADeos="; + src = fetchFromGitHub { + owner = "ColinIanKing"; + repo = pname; + rev = "V${version}"; + sha256 = "sha256-LHGtx7H8Cv9ZM5hRNrC1mjsl1k9lNx/5k7V8lqvJ7yw="; }; postPatch = '' @@ -62,9 +64,9 @@ stdenv.mkDerivation rec { hardware. However, it has never been intended to be used as a precise benchmark test suite, so do NOT use it in this manner. ''; - homepage = "https://kernel.ubuntu.com/~cking/stress-ng/"; - downloadPage = "https://kernel.ubuntu.com/~cking/tarballs/stress-ng/"; - changelog = "https://kernel.ubuntu.com/git/cking/stress-ng.git/plain/debian/changelog?h=V${version}"; + homepage = "https://github.com/ColinIanKing/stress-ng"; + downloadPage = "https://github.com/ColinIanKing/stress-ng/tags"; + changelog = "https://github.com/ColinIanKing/stress-ng/raw/V${version}/debian/changelog"; license = licenses.gpl2Plus; maintainers = with maintainers; [ c0bw3b ]; platforms = platforms.unix; |