nixpkgs/pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix
worldofpeace 0b59f4212c pantheon: stylize expressions
The same way we want them in GNOME in nixpkgs.
Didn't touch the greeter expression because I have
a branch where it's already rewritten.
2019-08-06 11:20:01 -04:00

31 lines
779 B
Nix

{ 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;
};
}