nixpkgs/pkgs/data/themes/jade1/default.nix

31 lines
823 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, gtk-engine-murrine }:
2018-05-10 17:46:32 +00:00
stdenv.mkDerivation rec {
pname = "theme-jade1";
2021-01-24 16:49:18 +00:00
version = "1.11";
2018-05-10 17:46:32 +00:00
src = fetchurl {
url = "https://github.com/madmaxms/theme-jade-1/releases/download/v${version}/jade-1-theme.tar.xz";
2021-01-24 16:49:18 +00:00
sha256 = "0jljmychbs2lsf6g1pck83x4acljdqqsllkdjgiwv3nnlwahzlvs";
2018-05-10 17:46:32 +00:00
};
sourceRoot = ".";
2018-05-10 17:46:32 +00:00
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
runHook preInstall
2018-05-10 17:46:32 +00:00
mkdir -p $out/share/themes
2020-02-03 10:21:07 +00:00
cp -a Jade* $out/share/themes
runHook postInstall
2018-05-10 17:46:32 +00:00
'';
meta = with lib; {
2020-03-28 22:23:28 +00:00
description = "Based on Linux Mint theme with dark menus and more intensive green";
2020-02-03 10:21:07 +00:00
homepage = "https://github.com/madmaxms/theme-jade-1";
license = with licenses; [ gpl3Only ];
2018-05-10 17:46:32 +00:00
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}