Merge pull request #51763 from pbogdan/add-ant-theme

ant-theme: init at 1.2.0
This commit is contained in:
Renaud 2018-12-10 22:39:27 +01:00 committed by GitHub
commit c9d58d1321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ stdenv, fetchurl, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "ant-theme";
version = "1.2.0";
src = fetchurl {
url = "https://github.com/EliverLara/Ant/releases/download/v${version}/Ant.tar";
sha256 = "15751pnb94g2wi6y932l3d7ksaz18402zbzp3l7ryy0lqwjnqvkj";
};
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/themes/Ant
cp -a * $out/share/themes/Ant
rm -r $out/share/themes/Ant/{Art,LICENSE,README.md,gtk-2.0/render-assets.sh}
runHook postInstall
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1fzy7bq5v9fzjpfxplvk0nwjgamcva83462gkz01lhr1mipb92h1";
meta = with stdenv.lib; {
description = "A flat and light theme with a modern look";
homepage = https://github.com/EliverLara/Ant;
license = licenses.gpl3;
platforms = platforms.all;
maintainers = [
maintainers.pbogdan
];
};
}

View File

@ -15223,6 +15223,8 @@ in
anonymousPro = callPackage ../data/fonts/anonymous-pro { };
ant-theme = callPackage ../data/themes/ant-theme { };
arc-icon-theme = callPackage ../data/icons/arc-icon-theme { };
arkpandora_ttf = callPackage ../data/fonts/arkpandora { };