nixpkgs/pkgs/desktops/deepin/deepin-gtk-theme/default.nix

29 lines
744 B
Nix
Raw Normal View History

2018-10-30 22:17:45 +00:00
{ stdenv, fetchFromGitHub, gtk-engine-murrine, deepin }:
2017-09-30 15:08:24 +01:00
stdenv.mkDerivation rec {
2018-10-30 22:17:45 +00:00
name = "${pname}-${version}";
pname = "deepin-gtk-theme";
version = "17.10.10";
2017-09-30 15:08:24 +01:00
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "deepin-gtk-theme";
rev = version;
sha256 = "0vwly24cvjwhvda7g3l595vpf99d2z7b2zr0q5kna4df4iql7vn4";
2017-09-30 15:08:24 +01:00
};
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
2017-09-30 15:08:24 +01:00
makeFlags = [ "PREFIX=$(out)" ];
2018-10-30 22:17:45 +00:00
passthru.updateScript = deepin.updateScript { inherit name; };
meta = with stdenv.lib; {
2017-09-30 15:08:24 +01:00
description = "Deepin GTK Theme";
homepage = https://github.com/linuxdeepin/deepin-gtk-theme;
license = licenses.lgpl3;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
2017-09-30 15:08:24 +01:00
};
}