diff options
author | Bobby Rong <rjl931189261@126.com> | 2021-12-20 22:52:29 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2021-12-21 12:04:39 +0800 |
commit | 9d4f3cabe92ad26b391c48dca8495070d0d2d6e4 (patch) | |
tree | 1038f8e9678b72ec7ab13fcd1f5cbe9b7ca358b1 /pkgs/desktops | |
parent | a399af5bb2bdf52d1c4d8babe5eacf30d12defaa (diff) |
pantheon.elementary-redacted-script: use elementary as upstream
Make it easier to track updates.
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix b/pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix index 97df0f9c78ac..d6dc4e66cbcf 100644 --- a/pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix +++ b/pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix @@ -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; |