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
1
{ lib, stdenv, fetchurl, libaio }:
2
2
3
3
-
stdenv.mkDerivation {
4
4
-
name = "blktrace-1.3.0";
3
3
+
stdenv.mkDerivation rec {
4
4
+
pname = "blktrace";
5
5
+
version = "1.3.0";
5
6
6
7
# Official source
7
8
# "git://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git"
8
9
src = fetchurl {
9
9
-
url = "http://brick.kernel.dk/snaps/blktrace-1.3.0.tar.bz2";
10
10
+
url = "https://brick.kernel.dk/snaps/blktrace-${version}.tar.bz2";
10
11
sha256 = "sha256-1t7aA4Yt4r0bG5+6cpu7hi2bynleaqf3yoa2VoEacNY=";
11
12
};
12
13
···
16
17
sed s,/usr/local,$out, -i Makefile
17
18
'';
18
19
19
19
-
meta = {
20
20
+
meta = with lib; {
20
21
description = "Block layer IO tracing mechanism";
21
21
-
license = lib.licenses.gpl2;
22
22
-
platforms = lib.platforms.linux;
22
22
+
maintainers = with maintainers; [ ];
23
23
+
license = licenses.gpl2;
24
24
+
platforms = platforms.linux;
23
25
};
24
26
}