tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
blktrace: switch to pname + version, cleanup
Sandro Jäckel
4 years ago
3b85ec48
6d84ed42
+8
-6
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
blktrace
default.nix
+8
-6
pkgs/os-specific/linux/blktrace/default.nix
···
1
{ lib, stdenv, fetchurl, libaio }:
2
3
-
stdenv.mkDerivation {
4
-
name = "blktrace-1.3.0";
0
5
6
# Official source
7
# "git://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git"
8
src = fetchurl {
9
-
url = "http://brick.kernel.dk/snaps/blktrace-1.3.0.tar.bz2";
10
sha256 = "sha256-1t7aA4Yt4r0bG5+6cpu7hi2bynleaqf3yoa2VoEacNY=";
11
};
12
···
16
sed s,/usr/local,$out, -i Makefile
17
'';
18
19
-
meta = {
20
description = "Block layer IO tracing mechanism";
21
-
license = lib.licenses.gpl2;
22
-
platforms = lib.platforms.linux;
0
23
};
24
}
···
1
{ lib, stdenv, fetchurl, libaio }:
2
3
+
stdenv.mkDerivation rec {
4
+
pname = "blktrace";
5
+
version = "1.3.0";
6
7
# Official source
8
# "git://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git"
9
src = fetchurl {
10
+
url = "https://brick.kernel.dk/snaps/blktrace-${version}.tar.bz2";
11
sha256 = "sha256-1t7aA4Yt4r0bG5+6cpu7hi2bynleaqf3yoa2VoEacNY=";
12
};
13
···
17
sed s,/usr/local,$out, -i Makefile
18
'';
19
20
+
meta = with lib; {
21
description = "Block layer IO tracing mechanism";
22
+
maintainers = with maintainers; [ ];
23
+
license = licenses.gpl2;
24
+
platforms = platforms.linux;
25
};
26
}