about summary refs log tree commit diff
path: root/pkgs/applications/science/astronomy/xearth/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/astronomy/xearth/default.nix')
-rw-r--r--pkgs/applications/science/astronomy/xearth/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/science/astronomy/xearth/default.nix b/pkgs/applications/science/astronomy/xearth/default.nix
index fef4ca1907fd..e9fc06079981 100644
--- a/pkgs/applications/science/astronomy/xearth/default.nix
+++ b/pkgs/applications/science/astronomy/xearth/default.nix
@@ -1,11 +1,11 @@
 { stdenv, fetchurl, imake, gccmakedep, libXt, libXext }:
 
 stdenv.mkDerivation rec {
-  name = "xearth-${version}";
+  pname = "xearth";
   version = "1.1";
 
   src = fetchurl {
-    url = "http://xearth.org/${name}.tar.gz";
+    url = "http://xearth.org/${pname}-${version}.tar.gz";
     sha256 = "bcb1407cc35b3f6dd3606b2c6072273b6a912cbd9ed1ae22fb2d26694541309c";
   };