-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from reflex-frp/rc/0.1.4.1
Release 0.1.4.1
- Loading branch information
Showing
15 changed files
with
134 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,11 @@ | ||
{ mkDerivation, base, bytestring, dependent-sum, directory | ||
, filepath, fsnotify, mtl, optparse-applicative, primitive, process | ||
, ref-tf, reflex, reflex-fsnotify, reflex-process, reflex-vty | ||
, regex-tdfa, stdenv, temporary, text, unix, vty, which | ||
, ghc | ||
}: | ||
mkDerivation { | ||
pname = "reflex-ghci"; | ||
version = "0.1.4.0"; | ||
src = ./.; | ||
isLibrary = true; | ||
isExecutable = true; | ||
libraryHaskellDepends = [ | ||
base bytestring directory filepath fsnotify process reflex | ||
reflex-fsnotify reflex-process reflex-vty regex-tdfa text unix vty | ||
]; | ||
executableHaskellDepends = [ | ||
base optparse-applicative process reflex reflex-process reflex-vty | ||
text vty | ||
]; | ||
testHaskellDepends = [ | ||
base bytestring dependent-sum directory mtl primitive process | ||
ref-tf reflex reflex-process reflex-vty temporary text which | ||
]; | ||
testToolDepends = [ | ||
ghc | ||
]; | ||
description = "A GHCi widget library for use in reflex applications"; | ||
license = stdenv.lib.licenses.bsd3; | ||
} | ||
{ callCabal2nix }: | ||
let | ||
src = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [ | ||
"release.nix" | ||
".git" | ||
"dist" | ||
"dist-newstyle" | ||
"cabal.project" | ||
".travis.yml" | ||
])) ./.; | ||
in callCabal2nix "reflex-ghci" src {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
cabal-version: >=1.10 | ||
cabal-version: 2.4 | ||
name: reflex-ghci | ||
version: 0.1.4.0 | ||
version: 0.1.4.1 | ||
synopsis: A GHCi widget library for use in reflex applications | ||
description: | ||
Run GHCi from within a reflex application and interact with it using a functional-reactive interface. | ||
. | ||
<<https://i.imgur.com/5y61Qx7.png>> | ||
. | ||
bug-reports: https://github.com/reflex-frp/reflex-ghci/issues | ||
license: BSD3 | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Obsidian Systems LLC | ||
maintainer: [email protected] | ||
|
@@ -18,6 +18,8 @@ build-type: Simple | |
extra-source-files: ChangeLog.md | ||
README.md | ||
screenshot.png | ||
tests/**/*.hs | ||
tests/**/*.cabal | ||
tested-with: GHC ==8.6.5 | ||
|
||
library | ||
|
@@ -31,14 +33,14 @@ library | |
, filepath >= 1.4 && < 1.5 | ||
, fsnotify >= 0.3 && < 0.4 | ||
, process >= 1.6 && < 1.7 | ||
, reflex >= 0.6.3 && < 0.7 | ||
, reflex >= 0.7.1.0 && < 0.8 | ||
, reflex-fsnotify >= 0.2 && < 0.3 | ||
, reflex-process >= 0.2.1 && < 0.3 | ||
, regex-tdfa >= 1.2.3 && < 1.3 | ||
, reflex-process >= 0.3 && < 0.4 | ||
, regex-tdfa >= 1.2.3 && < 1.4 | ||
, reflex-vty >= 0.1.3 && < 0.2 | ||
, text >= 1.2 && < 1.3 | ||
, unix >= 2.7 && < 2.8 | ||
, vty >= 5.25 && < 5.26 | ||
, vty >=5.21 && <5.29 | ||
hs-source-dirs: src | ||
default-language: Haskell2010 | ||
ghc-options: -Wall | ||
|
@@ -50,12 +52,13 @@ executable reflex-ghci | |
base | ||
, optparse-applicative >= 0.14.0 && < 0.16 | ||
, process | ||
, reflex | ||
, reflex >= 0.7.1.0 | ||
, reflex-ghci | ||
, reflex-vty | ||
, reflex-process | ||
, text | ||
, vty | ||
autogen-modules: Paths_reflex_ghci | ||
other-modules: Paths_reflex_ghci | ||
ghc-options: -threaded -rtsopts | ||
default-language: Haskell2010 | ||
|
@@ -70,7 +73,7 @@ test-suite test | |
, dependent-sum >= 0.6 && < 0.7 | ||
, directory | ||
, mtl >= 2.2 && < 2.3 | ||
, primitive >= 0.6.4 && < 0.7 | ||
, primitive >= 0.6.4 && < 0.8 | ||
, process | ||
, ref-tf >= 0.4 && < 0.5 | ||
, reflex | ||
|
@@ -79,7 +82,6 @@ test-suite test | |
, reflex-vty | ||
, temporary >= 1.3 && < 1.4 | ||
, text | ||
other-modules: HeadlessHost | ||
ghc-options: -threaded -rtsopts | ||
default-language: Haskell2010 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
# DO NOT HAND-EDIT THIS FILE | ||
import ((import <nixpkgs> {}).fetchFromGitHub ( | ||
let json = builtins.fromJSON (builtins.readFile ./github.json); | ||
in { inherit (json) owner repo rev sha256; | ||
private = json.private or false; | ||
} | ||
)) | ||
import (import ./thunk.nix) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"owner": "reflex-frp", | ||
"repo": "reflex-platform", | ||
"branch": "aa-bump-reflex-process", | ||
"rev": "22f8ea48c15d2be6af6808826a63c6b03eb672c8", | ||
"sha256": "08i6wvgwcmnlnncq66hjhagk45kyiy5ldi15vfm007fvv1kgnamm" | ||
"branch": "master", | ||
"private": false, | ||
"rev": "c13cb19f49c8093de4718d2aced1930128476cfa", | ||
"sha256": "0v87ilal9355xwz8y9m0zh14pm9c0f7pqch0854kkj92ybc5l62q" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# DO NOT HAND-EDIT THIS FILE | ||
let fetch = { private ? false, fetchSubmodules ? false, owner, repo, rev, sha256, ... }: | ||
if !fetchSubmodules && !private then builtins.fetchTarball { | ||
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz"; inherit sha256; | ||
} else (import <nixpkgs> {}).fetchFromGitHub { | ||
inherit owner repo rev sha256 fetchSubmodules private; | ||
}; | ||
json = builtins.fromJSON (builtins.readFile ./github.json); | ||
in fetch json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,31 @@ | ||
{ p ? import ./reflex-platform {} | ||
{ reflex-platform-fun ? import ./reflex-platform | ||
}: | ||
let | ||
inherit (p.nixpkgs) lib; | ||
in p.ghc.callPackage ./. {} | ||
(reflex-platform-fun { | ||
haskellOverlaysPost = [ | ||
(self: super: { | ||
reflex = self.callHackageDirect { | ||
pkg = "reflex"; | ||
ver = "0.7.1.0"; | ||
sha256 = "0a933xz7yl931m90bbwi9akfz77q6px36grlx6wba55mn1klpn27"; | ||
} {}; | ||
|
||
reflex-fsnotify = self.callHackageDirect { | ||
pkg = "reflex-fsnotify"; | ||
ver = "0.2.1.1"; | ||
sha256 = "1snbvf8z942fpb0r5spaxcdc036v6b1akgdscpfghz81bdvcxy8i"; | ||
} {}; | ||
|
||
reflex-process = self.callHackageDirect { | ||
pkg = "reflex-process"; | ||
ver = "0.3.0.0"; | ||
sha256 = "0xx8gzs7c60zh8rj794hyisljp0gwb26m34ns8z9xgp1k8jgkdgj"; | ||
} {}; | ||
|
||
reflex-vty = self.callHackageDirect { | ||
pkg = "reflex-vty"; | ||
ver = "0.1.4.0"; | ||
sha256 = "0djs7y4mmkb2q5hvp1fr1gn81k08hzab8v3c6qvh7nyn1fdh8zvh"; | ||
} {}; | ||
}) | ||
]; | ||
}).ghc.callPackage ./default.nix {} |
Oops, something went wrong.