nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 gdk-pixbuf,
6 gtk-engine-murrine,
7 gtk_engines,
8 librsvg,
9 marwaita,
10}:
11
12stdenv.mkDerivation rec {
13 pname = "venta";
14 version = "0.7.1";
15
16 src = fetchFromGitHub {
17 owner = "darkomarko42";
18 repo = "venta";
19 rev = version;
20 sha256 = "14ckkvyarq1xmf48fh47by5h3jnkmksj2n4y6zvx3aw7pfg2jc51";
21 };
22
23 buildInputs = [
24 gdk-pixbuf
25 gtk_engines
26 librsvg
27 ];
28
29 propagatedUserEnvPkgs = [
30 gtk-engine-murrine
31 ];
32
33 dontBuild = true;
34
35 installPhase = ''
36 runHook preInstall
37 mkdir -p $out/share/themes
38 cp -a Venta* $out/share/themes
39 ln -sfT ${marwaita}/share/themes/Marwaita/plank $out/share/themes/Venta/plank/plank
40 runHook postInstall
41 '';
42
43 meta = with lib; {
44 description = "Gtk theme based on windows 10 style";
45 homepage = "https://www.pling.com/p/1386774/";
46 license = licenses.gpl3Only;
47 platforms = platforms.unix;
48 maintainers = [ maintainers.romildo ];
49 };
50}