2016-12-08 16:07:53 +01:00
|
|
|
{ stdenv, fetchFromGitHub, numix-icon-theme }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${package-name}-${version}";
|
2017-09-20 12:10:44 +02:00
|
|
|
package-name = "numix-icon-theme-square";
|
2017-12-26 18:59:56 +01:00
|
|
|
version = "17-12-25";
|
2016-12-08 16:07:53 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numixproject";
|
|
|
|
repo = package-name;
|
2017-09-20 12:10:44 +02:00
|
|
|
rev = version;
|
2017-12-26 18:59:56 +01:00
|
|
|
sha256 = "07rcfkz3c1z5fwqiib4r1bm964mpwf1f128xm8kz55xp6w1c7zgl";
|
2016-12-08 16:07:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ numix-icon-theme ];
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/icons
|
|
|
|
cp -a Numix-Square{,-Light} $out/share/icons/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Numix icon theme (square version)";
|
|
|
|
homepage = https://numixproject.org;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = with platforms; allBut darwin;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|