Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d7f6cdeda4ea
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fa64c63fa044
Choose a head ref
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on Mar 4, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    86f4bad View commit details
  2. nixos/pantheon: add elementary-redacted-script to fonts

    Needed by elementary-screenshot-tool to conceal text.
    worldofpeace committed Mar 4, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    59f4708 View commit details

Commits on Mar 9, 2019

  1. Merge pull request #56552 from worldofpeace/elementary-screenshot-too…

    …l/fix-conceal-text
    
    pantheon.elementary-screenshot-tool: fix conceal text
    worldofpeace authored Mar 9, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    fa64c63 View commit details
1 change: 1 addition & 0 deletions nixos/modules/services/x11/desktop-managers/pantheon.nix
Original file line number Diff line number Diff line change
@@ -185,6 +185,7 @@ in
fonts.fonts = with pkgs; [
opensans-ttf
roboto-mono
pantheon.elementary-redacted-script # needed by screenshot-tool
];
fonts.fontconfig.defaultFonts = {
monospace = [ "Roboto Mono" ];
11 changes: 0 additions & 11 deletions pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix
Original file line number Diff line number Diff line change
@@ -2,12 +2,6 @@
, ninja, vala, python3, desktop-file-utils, gtk3, granite, libgee
, libcanberra, gobject-introspection, elementary-icon-theme, wrapGAppsHook }:

let

redacted-script = callPackage ./redacted-script.nix {};

in

stdenv.mkDerivation rec {
pname = "screenshot-tool"; # This will be renamed to "screenshot" soon. See -> https://github.com/elementary/screenshot/pull/93
version = "1.6.2";
@@ -52,11 +46,6 @@ stdenv.mkDerivation rec {
patchShebangs meson/post_install.py
'';

postInstall = ''
mkdir -p $out/share/fonts/truetype
cp -rva ${redacted-script}/share/fonts/truetype/redacted-elementary $out/share/fonts/truetype
'';

meta = with stdenv.lib; {
description = "Screenshot tool designed for elementary OS";
homepage = https://github.com/elementary/screenshot;

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,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;
};
}
2 changes: 2 additions & 0 deletions pkgs/desktops/pantheon/default.nix
Original file line number Diff line number Diff line change
@@ -217,6 +217,8 @@ lib.makeScope pkgs.newScope (self: with self; {

elementary-icon-theme = callPackage ./artwork/elementary-icon-theme { };

elementary-redacted-script = callPackage ./artwork/elementary-redacted-script { };

elementary-sound-theme = callPackage ./artwork/elementary-sound-theme { };

elementary-wallpapers = callPackage ./artwork/elementary-wallpapers { };