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