forked from mirrors/nixpkgs
dasht: use pname, quote homepage
This commit is contained in:
parent
e77902ce7b
commit
6490466c7d
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue