2016-01-08 19:22:07 +00:00
|
|
|
{ stdenv, fetchgit, libpng, libjpeg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "farbfeld-${version}";
|
2016-03-15 17:16:19 +00:00
|
|
|
version = "2";
|
2016-01-08 19:22:07 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "http://git.suckless.org/farbfeld";
|
|
|
|
rev = "refs/tags/${version}";
|
2016-03-15 17:16:19 +00:00
|
|
|
sha256 = "1rj6pqn50v6r7l3j7m872fgynxsh22zx863jg0jzmb4x6wx2m2qv";
|
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";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|