dasht: use pname, quote homepage
This commit is contained in:
parent
e77902ce7b
commit
6490466c7d
@ -13,12 +13,12 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "dasht";
|
||||||
version = "2.3.0";
|
version = "2.3.0";
|
||||||
name = "dasht-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sunaku";
|
owner = "sunaku";
|
||||||
repo = "dasht";
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0d0pcjalba58nvxdgn39m4b6n9ifajf3ygyjaqgvzwxzgpzw0a60";
|
sha256 = "0d0pcjalba58nvxdgn39m4b6n9ifajf3ygyjaqgvzwxzgpzw0a60";
|
||||||
};
|
};
|
||||||
@ -56,10 +56,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Search API docs offline, in terminal or browser";
|
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;
|
license = stdenv.lib.licenses.isc;
|
||||||
platforms = stdenv.lib.platforms.unix; #cannot test other
|
platforms = stdenv.lib.platforms.unix; #cannot test other
|
||||||
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user