Install haskell-docs-cli
This commit is contained in:
parent
a31a7a8982
commit
1e5919eef2
3
overlays/haskell-docs-cli/default.nix
Normal file
3
overlays/haskell-docs-cli/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
self: super: {
|
||||
haskell-docs-cli = self.haskellPackages.callPackage ./package.nix { };
|
||||
}
|
134
overlays/haskell-docs-cli/package.nix
Normal file
134
overlays/haskell-docs-cli/package.nix
Normal file
|
@ -0,0 +1,134 @@
|
|||
{ mkDerivation
|
||||
, aeson
|
||||
, ansi-wl-pprint
|
||||
, async
|
||||
, base
|
||||
, bytestring
|
||||
, containers
|
||||
, directory
|
||||
, exceptions
|
||||
, extra
|
||||
, fetchzip
|
||||
, filepath
|
||||
, hashable
|
||||
, haskeline
|
||||
, hoogle
|
||||
, hpack
|
||||
, html-conduit
|
||||
, http-client
|
||||
, http-client-tls
|
||||
, http-types
|
||||
, lib
|
||||
, mtl
|
||||
, network-uri
|
||||
, optparse-applicative
|
||||
, process
|
||||
, temporary
|
||||
, terminal-size
|
||||
, text
|
||||
, time
|
||||
, transformers
|
||||
, xml-conduit
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "haskell-docs-cli";
|
||||
version = "1.0.0.0";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/lazamar/haskell-docs-cli/archive/refs/heads/main.tar.gz";
|
||||
sha256 = "0zfvh7bfvrvqw6y2galf410cfrk782psr5mfkl0pl8lpgzksa5kw";
|
||||
};
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
aeson
|
||||
ansi-wl-pprint
|
||||
async
|
||||
base
|
||||
bytestring
|
||||
containers
|
||||
directory
|
||||
exceptions
|
||||
extra
|
||||
filepath
|
||||
hashable
|
||||
haskeline
|
||||
hoogle
|
||||
html-conduit
|
||||
http-client
|
||||
http-client-tls
|
||||
http-types
|
||||
mtl
|
||||
network-uri
|
||||
optparse-applicative
|
||||
process
|
||||
temporary
|
||||
terminal-size
|
||||
text
|
||||
time
|
||||
transformers
|
||||
xml-conduit
|
||||
];
|
||||
libraryToolDepends = [ hpack ];
|
||||
executableHaskellDepends = [
|
||||
aeson
|
||||
ansi-wl-pprint
|
||||
async
|
||||
base
|
||||
bytestring
|
||||
containers
|
||||
directory
|
||||
exceptions
|
||||
extra
|
||||
filepath
|
||||
hashable
|
||||
haskeline
|
||||
hoogle
|
||||
html-conduit
|
||||
http-client
|
||||
http-client-tls
|
||||
http-types
|
||||
mtl
|
||||
network-uri
|
||||
optparse-applicative
|
||||
process
|
||||
temporary
|
||||
terminal-size
|
||||
text
|
||||
time
|
||||
transformers
|
||||
xml-conduit
|
||||
];
|
||||
testHaskellDepends = [
|
||||
aeson
|
||||
ansi-wl-pprint
|
||||
async
|
||||
base
|
||||
bytestring
|
||||
containers
|
||||
directory
|
||||
exceptions
|
||||
extra
|
||||
filepath
|
||||
hashable
|
||||
haskeline
|
||||
hoogle
|
||||
html-conduit
|
||||
http-client
|
||||
http-client-tls
|
||||
http-types
|
||||
mtl
|
||||
network-uri
|
||||
optparse-applicative
|
||||
process
|
||||
temporary
|
||||
terminal-size
|
||||
text
|
||||
time
|
||||
transformers
|
||||
xml-conduit
|
||||
];
|
||||
prePatch = "hpack";
|
||||
homepage = "https://github.com/githubuser/haskell-docs-cli#readme";
|
||||
description = "Search Hoogle and navigate Hackage from the command line";
|
||||
license = lib.licenses.bsd3;
|
||||
}
|
|
@ -38,7 +38,7 @@ self: super: {
|
|||
};
|
||||
desktop-pkgs = {
|
||||
inherit (self) lm_sensors xwayland xdg_utils libnotify kassandra kassandra2 shotcut mlt audacity paprefs wl-clipboard
|
||||
nheko dconf2nix
|
||||
nheko dconf2nix haskell-docs-cli
|
||||
;
|
||||
inherit (self.gnomeExtensions) appindicator system-monitor
|
||||
clipboard-indicator emoji-selector
|
||||
|
|
Loading…
Reference in a new issue