| Copyright | (c) 2021 berberman |
|---|---|
| License | MIT |
| Maintainer | berberman <berberman@yandex.com> |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
NvFetcher.Core
Description
Synopsis
- data Core = Core
- coreRules :: Rules ()
- generateNixSourceExpr :: PackageKey -> Action NixExpr
Documentation
The key type of nvfetcher rule. See NvFetcher.Core
Constructors
| Core |
generateNixSourceExpr :: PackageKey -> Action NixExpr Source #
Run the core rule.
Given a PackageKey, run NvFetcher.Nvchecker, NvFetcher.NixFetcher
(may also run NvFetcher.ExtractSrc or FetchRustGitDeps)
resulting a nix source snippet like:
feeluown-core = {
pname = "feeluown-core";
version = "3.7.7";
src = fetchurl {
sha256 = "06d3j39ff9znqxkhp9ly81lcgajkhg30hyqxy2809yn23xixg3x2";
url = "https://pypi.io/packages/source/f/feeluown/feeluown-3.7.7.tar.gz";
};
};