blob: d6dc4e66cbcf35801ebaebe4965727f57dff15b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
}:
stdenv.mkDerivation rec {
pname = "elementary-redacted-script";
version = "5.1.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "fonts";
rev = version;
sha256 = "sha256-YiE7yaH0ZrF1/Cp+3bcJYm2cExQjFcat6JLMJPjhops=";
};
dontBuild = true;
installPhase = ''
mkdir -p $out/share/fonts/truetype/redacted-elementary
cp -a redacted/*.ttf $out/share/fonts/truetype/redacted-elementary
'';
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
meta = with lib; {
description = "Font for concealing text";
homepage = "https://github.com/elementary/fonts";
license = licenses.ofl;
maintainers = teams.pantheon.members;
platforms = platforms.linux;
};
}
|