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: 19dab239bbbf
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 052fa90e82d0
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jun 1, 2020

  1. cde-gtk-theme: init at 1.3

    gnidorah committed Jun 1, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    renovate-bot Mend Renovate
    Copy the full SHA
    51a2442 View commit details
  2. Merge pull request #89163 from gnidorah/cdetheme

    cde-gtk-theme: init at 1.3
    NickHu authored Jun 1, 2020
    Copy the full SHA
    052fa90 View commit details
Showing with 35 additions and 0 deletions.
  1. +33 −0 pkgs/data/themes/cde-motif-theme/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
33 changes: 33 additions & 0 deletions pkgs/data/themes/cde-motif-theme/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, python2Packages }:

stdenv.mkDerivation rec {
pname = "cde-motif-theme";
version = "1.3";

src = fetchFromGitHub {
owner = "josvanr";
repo = "cde-motif-theme";
rev = version;
sha256 = "1v5c4db69cmzdci8xxlkx3s3cifg1h5160qq5siwfps0sj7pvggj";
};

dontBuild = true;

pythonPath = with python2Packages; [ pyqt4 pillow pyxdg pyyaml ];
nativeBuildInputs = with python2Packages; [ python wrapPython ];

installPhase = ''
mkdir -p $out/share/themes
cp -r cdetheme $out/share/themes
patchShebangs $out/share/themes/cdetheme/scripts/switchtheme
wrapPythonProgramsIn "$out/share/themes/cdetheme/scripts" "$out $pythonPath"
'';

meta = with stdenv.lib; {
description = "Gtk2 / Gtk3 theme mimicking CDE / Motif";
homepage = "https://www.gnome-look.org/p/1231025";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ gnidorah ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -17842,6 +17842,8 @@ in

cascadia-code = callPackage ../data/fonts/cascadia-code { };

cde-gtk-theme = callPackage ../data/themes/cde-motif-theme { };

charis-sil = callPackage ../data/fonts/charis-sil { };

cherry = callPackage ../data/fonts/cherry { inherit (xorg) fonttosfnt mkfontdir; };