2018-12-08 23:27:15 +00:00
|
|
|
{ stdenv, fetchurl, gtk-engine-murrine }:
|
|
|
|
|
2019-08-28 09:28:46 +01:00
|
|
|
let
|
|
|
|
themeName = "Ant";
|
|
|
|
in
|
2018-12-08 23:27:15 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ant-theme";
|
2019-01-19 19:38:48 +00:00
|
|
|
version = "1.3.0";
|
2018-12-08 23:27:15 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-28 09:28:46 +01:00
|
|
|
url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
|
2019-01-19 19:38:48 +00:00
|
|
|
sha256 = "1r795v96ywzcb4dq08q2fdbmfia32g36cc512mhy41s8fb1a47dz";
|
2018-12-08 23:27:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [
|
|
|
|
gtk-engine-murrine
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2019-08-28 09:28:46 +01:00
|
|
|
mkdir -p $out/share/themes/${themeName}
|
|
|
|
cp -a * $out/share/themes/${themeName}
|
|
|
|
rm -r $out/share/themes/${themeName}/{Art,LICENSE,README.md,gtk-2.0/render-assets.sh}
|
2018-12-08 23:27:15 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A flat and light theme with a modern look";
|
2019-08-28 09:28:46 +01:00
|
|
|
homepage = "https://github.com/EliverLara/${themeName}";
|
2018-12-08 23:27:15 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
2019-08-28 09:28:46 +01:00
|
|
|
maintainers = with maintainers; [ alexarice ];
|
2018-12-08 23:27:15 +00:00
|
|
|
};
|
|
|
|
}
|