tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cfs-zen-tweaks: init at 1.2.0
Maciej Krüger
4 years ago
9a94139d
ccb03c90
+45
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
cfs-zen-tweaks
default.nix
top-level
all-packages.nix
+43
pkgs/os-specific/linux/cfs-zen-tweaks/default.nix
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, cmake
5
5
+
, makeWrapper
6
6
+
, gawk
7
7
+
}:
8
8
+
9
9
+
stdenv.mkDerivation rec {
10
10
+
pname = "cfs-zen-tweaks";
11
11
+
version = "1.2.0";
12
12
+
13
13
+
src = fetchFromGitHub {
14
14
+
owner = "igo95862";
15
15
+
repo = "cfs-zen-tweaks";
16
16
+
rev = version;
17
17
+
sha256 = "HRR2tdjNmWyrpbcMlihSdb/7g/tHma3YyXogQpRCVyo=";
18
18
+
};
19
19
+
20
20
+
postPatch = ''
21
21
+
patchShebangs set-cfs-zen-tweaks.bash
22
22
+
chmod +x set-cfs-zen-tweaks.bash
23
23
+
substituteInPlace set-cfs-zen-tweaks.bash \
24
24
+
--replace '$(gawk' '$(${gawk}/bin/gawk'
25
25
+
'';
26
26
+
27
27
+
buildInputs = [
28
28
+
gawk
29
29
+
];
30
30
+
31
31
+
nativeBuildInputs = [
32
32
+
cmake
33
33
+
makeWrapper
34
34
+
];
35
35
+
36
36
+
meta = with lib; {
37
37
+
description = "Tweak Linux CPU scheduler for desktop responsiveness";
38
38
+
homepage = "https://github.com/igo95862/cfs-zen-tweaks";
39
39
+
license = licenses.gpl2Only;
40
40
+
platforms = platforms.linux;
41
41
+
maintainers = with maintainers; [ mkg20001 ];
42
42
+
};
43
43
+
}
+2
pkgs/top-level/all-packages.nix
···
4251
4251
4252
4252
cfssl = callPackage ../tools/security/cfssl { };
4253
4253
4254
4254
+
cfs-zen-tweaks = callPackage ../os-specific/linux/cfs-zen-tweaks { };
4255
4255
+
4254
4256
chafa = callPackage ../tools/misc/chafa {
4255
4257
inherit (darwin.apple_sdk.frameworks) Foundation;
4256
4258
};