nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 gtk-engine-murrine,
6}:
7
8stdenv.mkDerivation rec {
9 pname = "orion";
10 version = "1.5";
11
12 src = fetchFromGitHub {
13 owner = "shimmerproject";
14 repo = "Orion";
15 tag = "v${version}";
16 sha256 = "1116yawv3fspkiq1ykk2wj0gza3l04b5nhldy0bayzjaj0y6fd89";
17 };
18
19 propagatedUserEnvPkgs = [ gtk-engine-murrine ];
20
21 installPhase = ''
22 mkdir -p $out/share/themes/orion
23 cp -r gtk-2.0 gtk-3.0 metacity-1 openbox-3 xfwm4 $out/share/themes/orion
24 '';
25
26 meta = {
27 homepage = "https://github.com/shimmerproject/Orion";
28 license = lib.licenses.gpl3Plus;
29 platforms = lib.platforms.linux;
30 };
31}