Skip to content
Snippets Groups Projects
Commit 898211c5 authored by Jens Nolte's avatar Jens Nolte
Browse files

Rename to quasar-network

parent 73101ab5
No related branches found
No related tags found
No related merge requests found
# qrpc
# quasar-network
{ pkgs ? import <nixpkgs> {}, haskellPackages ? pkgs.haskellPackages, args ? {} }:
let
qrpc = haskellPackages.callCabal2nix "qrpc" ./. args;
quasar-network = haskellPackages.callCabal2nix "quasar-network" ./. args;
in
if pkgs.lib.inNixShell then qrpc.env else qrpc
if pkgs.lib.inNixShell then quasar-network.env else quasar-network
......@@ -6,7 +6,7 @@
forAllSystems = f: lib.genAttrs systems (system: f system);
in {
packages = forAllSystems (system: {
qrpc = import ./. {
quasar-network = import ./. {
pkgs = nixpkgs.legacyPackages.${system};
};
});
......@@ -14,13 +14,13 @@
overlay = self: super: {
haskell = super.haskell // {
packageOverrides = hself: hsuper: super.haskell.packageOverrides hself hsuper // {
qrpc = import ./. { pkgs = self; haskellPackages = hself; };
quasar-network = import ./. { pkgs = self; haskellPackages = hself; };
};
};
};
defaultPackage = forAllSystems (system: self.packages.${system}.qrpc);
defaultPackage = forAllSystems (system: self.packages.${system}.quasar-network);
devShell = forAllSystems (system: self.packages.${system}.qrpc.env);
devShell = forAllSystems (system: self.packages.${system}.quasar-network.env);
};
}
......@@ -5,7 +5,7 @@
nix develop -c \
ghcid \
--warnings \
"--command=cabal repl lib:qrpc" \
"--command=cabal repl lib:quasar-network" \
"--test=:! \
cabal test --test-show-details=direct --ghc-option -fdiagnostics-color=always && \
cabal build --ghc-option -fdiagnostics-color=always && \
......
cabal-version: 3.0
name: qrpc
name: quasar-network
version: 0.1.0.0
category: Protocol, Network, Networking, Network API
description: RPC library with support for pipelining, reverse calls and data streams.
......@@ -15,7 +15,7 @@ extra-source-files:
source-repository head
type: git
location: https://git.c3pb.de/jens/qrpc.git
location: https://git.c3pb.de/jens/quasar-network.git
common shared-properties
default-extensions:
......@@ -86,12 +86,12 @@ library
hs-source-dirs:
src
test-suite qrpc-test
test-suite quasar-network-test
import: shared-executable-properties
type: exitcode-stdio-1.0
build-depends:
hspec,
qrpc,
quasar-network,
QuickCheck
main-is: Spec.hs
other-modules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment