mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
pantheon.elementary-redacted-script: use elementary as upstream
Make it easier to track updates.
This commit is contained in:
parent
a399af5bb2
commit
9d4f3cabe9
@ -1,29 +1,36 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "elementary-redacted-script";
|
||||
version = "unstable-2016-06-03";
|
||||
version = "5.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "png2378";
|
||||
repo = "redacted-elementary";
|
||||
rev = "346440ff9ce19465e6d5c3d6d67a8573f992c746";
|
||||
sha256 = "1jpd13sxkarclr0mlm66wzgpjh52ghzjzn4mywhyshyyskwn7jg1";
|
||||
owner = "elementary";
|
||||
repo = "fonts";
|
||||
rev = version;
|
||||
sha256 = "sha256-YiE7yaH0ZrF1/Cp+3bcJYm2cExQjFcat6JLMJPjhops=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype/redacted-elementary
|
||||
cp -a truetype/*.ttf $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/png2378/redacted-elementary";
|
||||
homepage = "https://github.com/elementary/fonts";
|
||||
license = licenses.ofl;
|
||||
maintainers = teams.pantheon.members;
|
||||
platforms = platforms.linux;
|
||||
|
Loading…
Reference in New Issue
Block a user