feat(users/Profpatsch): init netencode-hs
Haskell implementation of the netncode parser & generators. Change-Id: I904df752e78641110af2857e71d8206bf432d427 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6114 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
parent
68f81e843f
commit
aed86ea4b3
3 changed files with 445 additions and 0 deletions
|
|
@ -11,6 +11,31 @@ let
|
|||
}
|
||||
(builtins.readFile ./netencode.rs);
|
||||
|
||||
netencode-hs = pkgs.haskellPackages.mkDerivation {
|
||||
pname = "netencode";
|
||||
version = "0.1.0";
|
||||
|
||||
src = depot.users.Profpatsch.exactSource ./. [
|
||||
./netencode.cabal
|
||||
./Netencode.hs
|
||||
];
|
||||
|
||||
libraryHaskellDepends = [
|
||||
pkgs.haskellPackages.hedgehog
|
||||
pkgs.haskellPackages.nonempty-containers
|
||||
pkgs.haskellPackages.deriving-compat
|
||||
pkgs.haskellPackages.data-fix
|
||||
pkgs.haskellPackages.bytestring
|
||||
pkgs.haskellPackages.attoparsec
|
||||
depot.users.Profpatsch.my-prelude
|
||||
];
|
||||
|
||||
isLibrary = true;
|
||||
license = lib.licenses.mit;
|
||||
|
||||
|
||||
};
|
||||
|
||||
gen = import ./gen.nix { inherit lib; };
|
||||
|
||||
pretty-rs = depot.nix.writers.rustSimpleLib
|
||||
|
|
@ -149,6 +174,7 @@ in
|
|||
depot.nix.readTree.drvTargets {
|
||||
inherit
|
||||
netencode-rs
|
||||
netencode-hs
|
||||
pretty-rs
|
||||
pretty
|
||||
netencode-mustache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue