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

stdenv.mkDerivation rec {
  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;
  };
}