forked from mirrors/nixpkgs
7427b58266
(cherry picked from commit 22f212537f
)
24 lines
580 B
Nix
24 lines
580 B
Nix
{ stdenv, fetchgit, libpng, libjpeg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "farbfeld-${version}";
|
|
version = "3";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.suckless.org/farbfeld";
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "1k9cnw2zk9ywcn4hibf7wgi4czwyxhgjdmia6ghpw3wcz8vi71xl";
|
|
};
|
|
|
|
buildInputs = [ libpng libjpeg ];
|
|
|
|
installFlags = "PREFIX=/ DESTDIR=$(out)";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Suckless image format with conversion tools";
|
|
license = licenses.isc;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|