2016-01-08 19:22:07 +00:00
|
|
|
{ stdenv, fetchgit, libpng, libjpeg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "farbfeld-${version}";
|
2018-04-11 14:30:54 +01:00
|
|
|
version = "4";
|
2016-01-08 19:22:07 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2018-04-11 14:09:51 +01:00
|
|
|
url = "https://git.suckless.org/farbfeld";
|
2016-01-08 19:22:07 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2018-04-11 14:30:54 +01:00
|
|
|
sha256 = "0pkmkvv5ggpzqwqdchd19442x8gh152xy5z1z13ipfznhspsf870";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|