2016-05-22 13:41:15 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${package-name}-${version}";
|
|
|
|
package-name = "paper-icon-theme";
|
2016-12-07 19:27:42 +00:00
|
|
|
version = "2016-11-05";
|
2016-05-22 13:41:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "snwh";
|
|
|
|
repo = package-name;
|
2016-12-07 19:27:42 +00:00
|
|
|
rev = "2a1f25a47fe8fb92e9d4db5537bbddb539586602";
|
|
|
|
sha256 = "0v956wrfraaj5qznz86q7s3zi55xd3gxmg7pzcfsw2ghgfv13swd";
|
2016-05-22 13:41:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2016-05-27 02:58:52 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out
|
2016-05-22 13:41:15 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Modern icon theme designed around bold colours and simple geometric shapes";
|
|
|
|
homepage = http://snwh.org/paper;
|
|
|
|
license = with licenses; [ cc-by-sa-40 lgpl3 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|