summary refs log tree commit diff
path: root/pkgs/applications/graphics/gpicview
diff options
context:
space:
mode:
authorFelix Bühler <Stunkymonkey@users.noreply.github.com>2021-11-07 21:29:51 +0100
committerGitHub <noreply@github.com>2021-11-07 21:29:51 +0100
commitfbdf78236a346f57f716fb66ed62e1993260c9e5 (patch)
treed8ad89d78673cf511a52ad329e014f76bc116641 /pkgs/applications/graphics/gpicview
parent3b61f5c4366408ffdffa485457e499867d778b96 (diff)
downloadnixpkgs-fbdf78236a346f57f716fb66ed62e1993260c9e5.tar
nixpkgs-fbdf78236a346f57f716fb66ed62e1993260c9e5.tar.gz
nixpkgs-fbdf78236a346f57f716fb66ed62e1993260c9e5.tar.bz2
nixpkgs-fbdf78236a346f57f716fb66ed62e1993260c9e5.tar.lz
nixpkgs-fbdf78236a346f57f716fb66ed62e1993260c9e5.tar.xz
nixpkgs-fbdf78236a346f57f716fb66ed62e1993260c9e5.tar.zst
nixpkgs-fbdf78236a346f57f716fb66ed62e1993260c9e5.zip
pkgs/applications: rename name to pname&version part 1 (#144949)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/graphics/gpicview')
-rw-r--r--pkgs/applications/graphics/gpicview/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/applications/graphics/gpicview/default.nix b/pkgs/applications/graphics/gpicview/default.nix
index b661ba562f9..9e5de29c31b 100644
--- a/pkgs/applications/graphics/gpicview/default.nix
+++ b/pkgs/applications/graphics/gpicview/default.nix
@@ -1,10 +1,11 @@
 { lib, stdenv, fetchurl, intltool, pkg-config, gtk2, fetchpatch }:
 
-stdenv.mkDerivation {
-  name = "gpicview-0.2.4";
+stdenv.mkDerivation rec {
+  pname = "gpicview";
+  version = "0.2.4";
 
   src = fetchurl {
-    url    = "mirror://sourceforge/lxde/gpicview-0.2.4.tar.gz";
+    url = "mirror://sourceforge/lxde/gpicview-${version}.tar.gz";
     sha256 = "1svcy1c8bgk0pl12yhyv16h2fl52x5vzzcv57z6qdcv5czgvgglr";
   };
 
@@ -17,11 +18,11 @@ stdenv.mkDerivation {
 
   meta = with lib; {
     description = "A simple and fast image viewer for X";
-    homepage    = "http://lxde.sourceforge.net/gpicview/";
+    homepage = "http://lxde.sourceforge.net/gpicview/";
     repositories.git = "git://lxde.git.sourceforge.net/gitroot/lxde/gpicview";
-    license     = licenses.gpl2;
+    license = licenses.gpl2;
     maintainers = with maintainers; [ lovek323 ];
-    platforms   = platforms.unix;
+    platforms = platforms.unix;
   };
 
   nativeBuildInputs = [ pkg-config ];