commit edd6056ceb3c5569447f963d627ddf4fa863cb83 parent 47aa4cd6db735c398571f008181239744c29be00 Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Sun, 10 Jan 2021 03:05:14 +0300 Add farbfeld-utils Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/tools/graphics/farbfeld-utils/default.nix | | | 24 | ++++++++++++++++++++++++ |
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -158,6 +158,7 @@ lib.makeScope newScope ( elevation = callPackage ./tools/geo/elevation { click = click-6-7; }; + farbfeld-utils = callPackage ./tools/graphics/farbfeld-utils { }; fx-bin = callPackage ./tools/text/fx/bin.nix { }; garmin-uploader = callPackage ./tools/misc/garmin-uploader { }; garminimg = libsForQt5.callPackage ./tools/geo/garminimg { diff --git a/pkgs/tools/graphics/farbfeld-utils/default.nix b/pkgs/tools/graphics/farbfeld-utils/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchfossil }: + +stdenv.mkDerivation { + pname = "farbfeld-utils"; + version = "2020-11-02"; + + src = fetchfossil { + url = "http://zzo38computer.org/fossil/farbfeld.ui"; + rev = "a195827da5"; + sha256 = "1z24qv09r426v05bljy185sh420kwfa9x1pwz34s63n1hp1v3y20"; + }; + + buildPhase = "$CC -o gif2ff gifff.c"; + + installPhase = "install -Dm755 gif2ff -t $out/bin"; + + meta = with stdenv.lib; { + description = "Collection of utilities for farbfeld picture format"; + homepage = "http://zzo38computer.org/fossil/farbfeld.ui/home"; + license = licenses.publicDomain; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.linux; + }; +}