btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / nu / numix-gtk-theme / package.nix
bloba55970d5dccf6fe001f57009a9b56cfe68909887
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , sassc
5 , glib
6 , libxml2
7 , gdk-pixbuf
8 , gtk-engine-murrine
9 , gitUpdater
12 stdenv.mkDerivation rec {
13   pname = "numix-gtk-theme";
14   version = "unstable-2021-06-08";
16   src = fetchFromGitHub {
17     repo = "numix-gtk-theme";
18     owner = "numixproject";
19     rev = "ad4b345cb19edba96bec72d6dc97ed1b568755a8";
20     hash = "sha256-7KX5xC6Gr6azqL2qyc8rYb3q9UhcGco2uEfltsQ+mgo=";
21   };
23   nativeBuildInputs = [ sassc glib libxml2 gdk-pixbuf ];
25   propagatedUserEnvPkgs = [ gtk-engine-murrine ];
27   postPatch = ''
28     substituteInPlace Makefile --replace '$(DESTDIR)'/usr $out
29     patchShebangs .
30   '';
32   passthru.updateScript = gitUpdater { };
34   meta = {
35     description = "Modern flat theme with a combination of light and dark elements (GNOME, Unity, Xfce and Openbox)";
36     homepage = "https://numixproject.github.io";
37     license = lib.licenses.gpl3Plus;
38     platforms = lib.platforms.all;
39     maintainers = [ lib.maintainers.romildo ];
40   };