git.iko.soy/typeable/nixpkgs
on master help sign in
stress-ng: 0.13.03 -> 0.13.08

Upstream has moved to Github

commit3fb8f4025265332dae3e4445e3129c1b765eaaf1 authorRenaud <c0bw3b@users.noreply.github.com> dateSat 18 Dec 2021, 18:34 (5 years ago) parent6332928
1 file changed+10−8
pkgs/tools/system/stress-ng/default.nix+10−8
pkgs/tools/system/stress-ng/default.nix+10−8
@@ -1,14 +1,16 @@
1−{ lib, stdenv, fetchurl
1+{ lib, stdenv, fetchFromGitHub
22, attr, judy, keyutils, libaio, libapparmor, libbsd, libcap, libgcrypt, lksctp-tools, zlib
33}:
44
55stdenv.mkDerivation rec {
66 pname = "stress-ng";
7− version = "0.13.03";
7+ version = "0.13.08";
88
9− src = fetchurl {
10− url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.xz";
11− sha256 = "sha256-PmDWBeN42GqFkaMNblV77XCdgqWxlhY3gALNj/ADeos=";
9+ src = fetchFromGitHub {
10+ owner = "ColinIanKing";
11+ repo = pname;
12+ rev = "V${version}";
13+ sha256 = "sha256-LHGtx7H8Cv9ZM5hRNrC1mjsl1k9lNx/5k7V8lqvJ7yw=";
1214 };
1315
1416 postPatch = ''
@@ -62,9 +64,9 @@ stdenv.mkDerivation rec {
6264 hardware. However, it has never been intended to be used as a precise benchmark
6365 test suite, so do NOT use it in this manner.
6466 '';
65− homepage = "https://kernel.ubuntu.com/~cking/stress-ng/";
66− downloadPage = "https://kernel.ubuntu.com/~cking/tarballs/stress-ng/";
67− changelog = "https://kernel.ubuntu.com/git/cking/stress-ng.git/plain/debian/changelog?h=V${version}";
67+ homepage = "https://github.com/ColinIanKing/stress-ng";
68+ downloadPage = "https://github.com/ColinIanKing/stress-ng/tags";
69+ changelog = "https://github.com/ColinIanKing/stress-ng/raw/V${version}/debian/changelog";
6870 license = licenses.gpl2Plus;
6971 maintainers = with maintainers; [ c0bw3b ];
7072 platforms = platforms.unix;