summary refs log tree commit diff
path: root/pkgs/tools/misc/dasht
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2019-02-22 21:01:31 -0800
committerRyan Mulligan <ryan@ryantm.com>2019-02-22 21:01:31 -0800
commit6490466c7dcc8be335e52203e28854c33c950e0f (patch)
tree99a369bb978b4329a72fcff57aa2d2a8cfce1dd7 /pkgs/tools/misc/dasht
parente77902ce7b424fef00a25401215dfe94bba933f4 (diff)
downloadnixpkgs-6490466c7dcc8be335e52203e28854c33c950e0f.tar
nixpkgs-6490466c7dcc8be335e52203e28854c33c950e0f.tar.gz
nixpkgs-6490466c7dcc8be335e52203e28854c33c950e0f.tar.bz2
nixpkgs-6490466c7dcc8be335e52203e28854c33c950e0f.tar.lz
nixpkgs-6490466c7dcc8be335e52203e28854c33c950e0f.tar.xz
nixpkgs-6490466c7dcc8be335e52203e28854c33c950e0f.tar.zst
nixpkgs-6490466c7dcc8be335e52203e28854c33c950e0f.zip
dasht: use pname, quote homepage
Diffstat (limited to 'pkgs/tools/misc/dasht')
-rw-r--r--pkgs/tools/misc/dasht/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/tools/misc/dasht/default.nix b/pkgs/tools/misc/dasht/default.nix
index cfd33edbd05..e1286820797 100644
--- a/pkgs/tools/misc/dasht/default.nix
+++ b/pkgs/tools/misc/dasht/default.nix
@@ -13,12 +13,12 @@
 }:
 
 stdenv.mkDerivation rec {
+  pname   = "dasht";
   version = "2.3.0";
-  name    = "dasht-${version}";
 
   src = fetchFromGitHub {
     owner  = "sunaku";
-    repo   = "dasht";
+    repo   = pname;
     rev    = "v${version}";
     sha256 = "0d0pcjalba58nvxdgn39m4b6n9ifajf3ygyjaqgvzwxzgpzw0a60";
   };
@@ -56,10 +56,9 @@ stdenv.mkDerivation rec {
 
   meta = {
     description = "Search API docs offline, in terminal or browser";
-    homepage    = https://sunaku.github.io/dasht/man;
+    homepage    = "https://sunaku.github.io/dasht/man";
     license     = stdenv.lib.licenses.isc;
     platforms   = stdenv.lib.platforms.unix; #cannot test other
     maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
   };
 }
-