[Nix-dev] [PATCH] qiv: add version 2.2.4
Sergey Mironov
ierton at gmail.com
Wed Jan 16 11:36:42 CET 2013
Just a side-note: Qiv works in general, but segfaults in 'Browse' mode..
2013/1/11 Petar Bogdanovic <petar at smokva.net>:
> ---
> pkgs/applications/graphics/qiv/default.nix | 19 +++++++++++++++++++
> pkgs/top-level/all-packages.nix | 2 ++
> 2 files changed, 21 insertions(+)
> create mode 100644 pkgs/applications/graphics/qiv/default.nix
>
> diff --git a/pkgs/applications/graphics/qiv/default.nix b/pkgs/applications/graphics/qiv/default.nix
> new file mode 100644
> index 0000000..05eb83c
> --- /dev/null
> +++ b/pkgs/applications/graphics/qiv/default.nix
> @@ -0,0 +1,19 @@
> +{ stdenv, fetchurl, pkgconfig, gtk, imlib2, file } :
> +
> +stdenv.mkDerivation (rec {
> + name = "qiv-2.2.4";
> +
> + src = fetchurl {
> + url = "http://spiegl.de/qiv/download/${name}.tgz";
> + sha256 = "ed6078dc550c1dc2fe35c1e0f46463c13589a24b83d4f7101b71a7485e51abb7";
> + };
> +
> + buildInputs = [ pkgconfig gtk imlib2 file ];
> +
> + preBuild=''substituteInPlace Makefile --replace /usr/local "$out"'';
> +
> + meta = {
> + description = "qiv (quick image viewer)";
> + homepage = http://spiegl.de/qiv/;
> + };
> +})
> diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
> index b59a8a6..ad5275a 100644
> --- a/pkgs/top-level/all-packages.nix
> +++ b/pkgs/top-level/all-packages.nix
> @@ -7687,6 +7687,8 @@ let
>
> pqiv = callPackage ../applications/graphics/pqiv { };
>
> + qiv = callPackage ../applications/graphics/qiv { };
> +
> # perhaps there are better apps for this task? It's how I had configured my preivous system.
> # And I don't want to rewrite all rules
> procmail = callPackage ../applications/misc/procmail { };
> --
> 1.8.0.1
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
More information about the nix-dev
mailing list