nixpkgs/pkgs/data/themes/ant-theme/default.nix

38 lines
959 B
Nix
Raw Normal View History

2018-12-08 23:27:15 +00:00
{ stdenv, fetchurl, gtk-engine-murrine }:
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 {
url = "https://github.com/EliverLara/Ant/releases/download/v${version}/Ant.tar";
2019-01-19 19:38:48 +00:00
sha256 = "1r795v96ywzcb4dq08q2fdbmfia32g36cc512mhy41s8fb1a47dz";
2018-12-08 23:27:15 +00:00
};
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";
2019-01-19 19:38:48 +00:00
outputHash = "1gpacrmi5y87shp39jgy78n0ca2xdpvbqfh0mgldlxx99ca9rvvy";
2018-12-08 23:27:15 +00:00
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 = [ ];
2018-12-08 23:27:15 +00:00
};
}