nixpkgs-suyu/pkgs/development/libraries/farbfeld/default.nix

24 lines
580 B
Nix
Raw Normal View History

2016-01-08 20:22:07 +01:00
{ stdenv, fetchgit, libpng, libjpeg }:
stdenv.mkDerivation rec {
name = "farbfeld-${version}";
version = "3";
2016-01-08 20:22:07 +01:00
src = fetchgit {
url = "https://git.suckless.org/farbfeld";
2016-01-08 20:22:07 +01:00
rev = "refs/tags/${version}";
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";
license = licenses.isc;
2016-01-08 20:22:07 +01:00
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}