Skip to content

Commit

Permalink
New release and CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
idontgetoutmuch committed Mar 13, 2020
1 parent 9f02573 commit 3618024
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 10 deletions.
2 changes: 1 addition & 1 deletion random-fu/random-fu.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: random-fu
version: 0.2.7.3
version: 0.2.7.4
stability: provisional

cabal-version: >= 1.6
Expand Down
2 changes: 1 addition & 1 deletion random-source/random-source.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: random-source
version: 0.3.0.7
version: 0.3.0.8
stability: provisional

cabal-version: >= 1.6
Expand Down
15 changes: 7 additions & 8 deletions rvar/rvar.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rvar
version: 0.2.0.3
version: 0.2.0.4
stability: stable

cabal-version: >= 1.6
Expand All @@ -12,27 +12,26 @@ homepage: https://github.com/mokus0/random-fu

category: Math
synopsis: Random Variables
description: Random number generation based on modeling random
description: Random number generation based on modeling random
variables by an abstract type ('RVar') which can be
composed and manipulated monadically and sampled in
either monadic or \"pure\" styles.
.
The primary purpose of this library is to support
The primary purpose of this library is to support
defining and sampling a wide variety of high quality
random variables. Quality is prioritized over speed,
but performance is an important goal too.
.
In my testing, I have found it capable of speed
In my testing, I have found it capable of speed
comparable to other Haskell libraries, but still
a fair bit slower than straight C implementations of
a fair bit slower than straight C implementations of
the same algorithms.
.
Changes in 0.2.0.1: Version bump for transformers
dependency.

tested-with: GHC == 6.8.3, GHC == 6.10.4, GHC == 6.12.3,
GHC == 7.0.4, GHC == 7.2.1, GHC == 7.2.2,
GHC == 7.4.1-rc1
GHC == 7.0.4, GHC == 7.2.1, GHC == 7.2.2

source-repository head
type: git
Expand All @@ -52,7 +51,7 @@ Library
cpp-options: -DMTL2
else
build-depends: mtl == 1.1.*

build-depends: base >= 3 && <5,
MonadPrompt == 1.0.*,
random-source == 0.3.*,
Expand Down
26 changes: 26 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ nixpkgs ? import <nixpkgs> {} }:
let p = nixpkgs; in

let
myStack = p.writeShellScriptBin "stack" ''
exec ${p.stack}/bin/stack --no-nix --no-docker --system-ghc $STACK_IN_NIX_EXTRA_ARGS "$@"
'';
in
p.haskell.lib.buildStackProject {
name = "random-fu";

buildInputs = [
p.zlib
# p.sundials
# p.blas
# p.gfortran.cc
# p.liblapack
# p.gsl
# p.glpk
p.pkgconfig
p.stack
# p.sundials
myStack
] ++ (if p.stdenv.isDarwin then [p.darwin.apple_sdk.frameworks.Accelerate] else [])
++ (if p.stdenv.isDarwin then [p.darwin.apple_sdk.frameworks.Cocoa] else []);
}

0 comments on commit 3618024

Please sign in to comment.