2016-01-08 19:22:07 +00:00
|
|
|
{ stdenv, fetchgit, libpng, libjpeg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "farbfeld-${version}";
|
2017-04-30 18:59:05 +01:00
|
|
|
version = "3";
|
2016-01-08 19:22:07 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "http://git.suckless.org/farbfeld";
|
|
|
|
rev = "refs/tags/${version}";
|
2017-04-30 18:59:05 +01:00
|
|
|
sha256 = "1k9cnw2zk9ywcn4hibf7wgi4czwyxhgjdmia6ghpw3wcz8vi71xl";
|
2016-01-08 19:22:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libpng libjpeg ];
|
|
|
|
|
|
|
|
installFlags = "PREFIX=/ DESTDIR=$(out)";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Suckless image format with conversion tools";
|
2017-04-30 18:59:05 +01:00
|
|
|
license = licenses.isc;
|
2016-01-08 19:22:07 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|