Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quasar-network
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jens Nolte
quasar-network
Commits
898211c5
Commit
898211c5
authored
3 years ago
by
Jens Nolte
Browse files
Options
Downloads
Patches
Plain Diff
Rename to quasar-network
parent
73101ab5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
default.nix
+2
-2
2 additions, 2 deletions
default.nix
flake.nix
+4
-4
4 additions, 4 deletions
flake.nix
ghcid
+1
-1
1 addition, 1 deletion
ghcid
qrpc.cabal
+4
-4
4 additions, 4 deletions
qrpc.cabal
with
12 additions
and
12 deletions
README.md
+
1
−
1
View file @
898211c5
# q
rpc
# q
uasar-network
This diff is collapsed.
Click to expand it.
default.nix
+
2
−
2
View file @
898211c5
{
pkgs
?
import
<
nixpkgs
>
{},
haskellPackages
?
pkgs
.
haskellPackages
,
args
?
{}
}:
let
q
rpc
=
haskellPackages
.
callCabal2nix
"q
rpc
"
./.
args
;
q
uasar-network
=
haskellPackages
.
callCabal2nix
"q
uasar-network
"
./.
args
;
in
if
pkgs
.
lib
.
inNixShell
then
q
rpc
.
env
else
qrpc
if
pkgs
.
lib
.
inNixShell
then
q
uasar-network
.
env
else
quasar-network
This diff is collapsed.
Click to expand it.
flake.nix
+
4
−
4
View file @
898211c5
...
...
@@ -6,7 +6,7 @@
forAllSystems
=
f
:
lib
.
genAttrs
systems
(
system
:
f
system
);
in
{
packages
=
forAllSystems
(
system
:
{
q
rpc
=
import
./.
{
q
uasar-network
=
import
./.
{
pkgs
=
nixpkgs
.
legacyPackages
.
${
system
};
};
});
...
...
@@ -14,13 +14,13 @@
overlay
=
self
:
super
:
{
haskell
=
super
.
haskell
//
{
packageOverrides
=
hself
:
hsuper
:
super
.
haskell
.
packageOverrides
hself
hsuper
//
{
q
rpc
=
import
./.
{
pkgs
=
self
;
haskellPackages
=
hself
;
};
q
uasar-network
=
import
./.
{
pkgs
=
self
;
haskellPackages
=
hself
;
};
};
};
};
defaultPackage
=
forAllSystems
(
system
:
self
.
packages
.
${
system
}
.
q
rpc
);
defaultPackage
=
forAllSystems
(
system
:
self
.
packages
.
${
system
}
.
q
uasar-network
);
devShell
=
forAllSystems
(
system
:
self
.
packages
.
${
system
}
.
q
rpc
.
env
);
devShell
=
forAllSystems
(
system
:
self
.
packages
.
${
system
}
.
q
uasar-network
.
env
);
};
}
This diff is collapsed.
Click to expand it.
ghcid
+
1
−
1
View file @
898211c5
...
...
@@ -5,7 +5,7 @@
nix develop
-c
\
ghcid
\
--warnings
\
"--command=cabal repl lib:q
rpc
"
\
"--command=cabal repl lib:q
uasar-network
"
\
"--test=:!
\
cabal test --test-show-details=direct --ghc-option -fdiagnostics-color=always &&
\
cabal build --ghc-option -fdiagnostics-color=always &&
\
...
...
This diff is collapsed.
Click to expand it.
qrpc.cabal
+
4
−
4
View file @
898211c5
cabal-version: 3.0
name: q
rpc
name: q
uasar-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/q
rpc
.git
location: https://git.c3pb.de/jens/q
uasar-network
.git
common shared-properties
default-extensions:
...
...
@@ -86,12 +86,12 @@ library
hs-source-dirs:
src
test-suite q
rpc
-test
test-suite q
uasar-network
-test
import: shared-executable-properties
type: exitcode-stdio-1.0
build-depends:
hspec,
q
rpc
,
q
uasar-network
,
QuickCheck
main-is: Spec.hs
other-modules:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment