summary refs log tree commit diff
path: root/pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix
blob: df2475ce82a312c2ed644565e08114bcf4cd0641 (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
{ stdenv
, fetchFromGitHub
, pantheon
}:

stdenv.mkDerivation {
  pname = "elementary-redacted-script";
  version = "unstable-2016-06-03";

  src = fetchFromGitHub {
    owner = "png2378";
    repo = "redacted-elementary";
    rev = "346440ff9ce19465e6d5c3d6d67a8573f992c746";
    sha256 = "1jpd13sxkarclr0mlm66wzgpjh52ghzjzn4mywhyshyyskwn7jg1";
  };

  dontBuild = true;

  installPhase = ''
    mkdir -p $out/share/fonts/truetype/redacted-elementary
    cp -a truetype/*.ttf $out/share/fonts/truetype/redacted-elementary
  '';

  meta = with stdenv.lib; {
    description = "Font for concealing text";
    homepage = https://github.com/png2378/redacted-elementary;
    license = licenses.ofl;
    maintainers = pantheon.maintainers;
    platforms = platforms.linux;
  };
}