diff --git a/pkgs/applications/graphics/imv/default.nix b/pkgs/applications/graphics/imv/default.nix new file mode 100644 index 000000000000..b5d44eb4ccef --- /dev/null +++ b/pkgs/applications/graphics/imv/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, + SDL2, freeimage +}: + +stdenv.mkDerivation rec { + name = "imv"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "eXeC64"; + repo = "imv"; + rev = "f2ce793d628e88825eff3364b293104cb0bdb582"; + sha256 = "1xqaqbfjgksbjmy1yy7q4sv5bak7w8va60xa426jzscy9cib2sgh"; + }; + + buildInputs = [ SDL2 freeimage ]; + + configurePhase = "substituteInPlace Makefile --replace /usr $out"; + + meta = with stdenv.lib; { + description = "A command line image viewer for tiling window managers"; + homepage = https://github.com/eXeC64/imv; + license = licenses.mit; + maintainers = with maintainers; [ rnhmjoj ]; + platforms = platforms.unix; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b83861392faa..18acf4f8ac9d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6589,6 +6589,8 @@ let libpng = libpng12; }; + imv = callPackage ../applications/graphics/imv/default.nix { }; + imlib2 = callPackage ../development/libraries/imlib2 { }; ijs = callPackage ../development/libraries/ijs { };