nixpkgs/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}";
2018-04-11 15:30:54 +02:00
version = "4";
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}";
2018-04-11 15:30:54 +02:00
sha256 = "0pkmkvv5ggpzqwqdchd19442x8gh152xy5z1z13ipfznhspsf870";
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 ];
};
}