summary refs log tree commit diff
path: root/pkgs/tools/system/stress-ng
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2021-12-18 18:34:17 +0100
committerGitHub <noreply@github.com>2021-12-18 18:34:17 +0100
commit3fb8f4025265332dae3e4445e3129c1b765eaaf1 (patch)
tree2a7cb6feaf459b8e4bd730252ac8ef7bd9f61681 /pkgs/tools/system/stress-ng
parent6332928cc4f68c816d1b306a46f62867f541ea0e (diff)
downloadnixpkgs-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.nix18
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;