Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / desktops / pantheon / artwork / elementary-redacted-script / default.nix
blob66c02d73f71d4b43d46b540ca4f528aca704306d
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , nix-update-script
5 }:
7 stdenv.mkDerivation rec {
8   pname = "elementary-redacted-script";
9   version = "5.1.0";
11   src = fetchFromGitHub {
12     owner = "elementary";
13     repo = "fonts";
14     rev = version;
15     sha256 = "sha256-YiE7yaH0ZrF1/Cp+3bcJYm2cExQjFcat6JLMJPjhops=";
16   };
18   dontBuild = true;
20   installPhase = ''
21     mkdir -p $out/share/fonts/truetype/redacted-elementary
22     cp -a redacted/*.ttf $out/share/fonts/truetype/redacted-elementary
23   '';
25   passthru = {
26     updateScript = nix-update-script { };
27   };
29   meta = with lib; {
30     description = "Font for concealing text";
31     homepage = "https://github.com/elementary/fonts";
32     license = licenses.ofl;
33     maintainers = teams.pantheon.members;
34     platforms = platforms.linux;
35   };