Skip to content

Commit

Permalink
Loosen version constraints, prep for CI & Hackage upload
Browse files Browse the repository at this point in the history
  • Loading branch information
emeinhardt committed Nov 5, 2023
1 parent 107868a commit 0e3e994
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 25 deletions.
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/docs/*
result
result-*
/result/*
dist-newstyle/*
*/dist-newstyle/*
*.hoo
*.warn
.direnv/*
*.o
*.hi
*.dyn_o
*.dyn_hi
cabal.project.local
cabal.project.local~

5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
pkgs = nixpkgs.legacyPackages.${system};

# Change 945 appropriately to select a different GHC version
# Check `nix-env -f "<nixpkgs>" -qaP -A haskell.compiler` to see available versions.
haskellPackages = pkgs.haskell.packages.ghc945;

jailbreakUnbreak = pkg:
Expand All @@ -29,11 +30,13 @@
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [

cabal-install

haskellPackages.haskell-language-server

haskellPackages.hlint
haskellPackages.stylish-haskell
haskellPackages.hindent
cabal-install

# Optional: Only needed to make use of ./justfile
just
Expand Down
52 changes: 28 additions & 24 deletions seq-zipper.cabal
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
cabal-version: 3.0
name: seq-zipper
version: 0.1.0.0
synopsis: A non-empty comonadic Seq zipper
license: MIT
license-file: LICENSE
author: Eric Meinhardt
maintainer: [email protected]
copyright: 2023
category: Data
build-type: Simple
extra-doc-files: CHANGELOG.md
cabal-version: 3.0
name: seq-zipper
version: 0.1.0.0
synopsis: A non-empty comonadic Seq zipper.
license: MIT
license-file: LICENSE
author: Eric Meinhardt
maintainer: [email protected]
copyright: 2023
homepage: https://github.com/emeinhardt/seq-zipper
bug-reports: https://github.com/emeinhardt/seq-zipper/issues
category: Data
build-type: Simple
extra-doc-files: CHANGELOG.md

source-repository head
type: git
location: https://github.com/emeinhardt/seq-zipper/seq-zipper.git

common warnings
ghc-options: -Wall -Wdefault -Wno-orphans -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat
Expand All @@ -28,15 +34,13 @@ library
exposed-modules:
Data.Sequence.NonEmpty.Zipper
build-depends:
base ^>=4.17.1.0
, deepseq ==1.4.*
-- , pretty-simple ==4.1.*
, base-unicode-symbols ==0.2.*
, composition-prelude ==3.0.*
, newtype-generics ==0.6.*
, foldable1-classes-compat ==0.1.*
, containers ==0.6.*
, nonempty-containers ==0.3.*
, comonad ==5.0.*
, monoid-subclasses ==1.2.*
-- , optics-core ==0.4.*
base >=4.16 && < 5.0
, deepseq >=1.4 && < 1.5
, base-unicode-symbols >=0.2
, composition-prelude >=3.0 && < 4.0
, newtype-generics >=0.6 && < 0.7
, foldable1-classes-compat >=0.1 && < 1.0
, containers >=0.6 && < 0.7
, nonempty-containers >=0.3 && < 4.0
, comonad >=5.0 && < 6.0
, monoid-subclasses >=1.2 && < 1.3
1 change: 1 addition & 0 deletions seq-zipper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ mkDerivation {
deepseq foldable1-classes-compat monoid-subclasses newtype-generics
nonempty-containers
];
homepage = "https://github.com/emeinhardt/seq-zipper";
description = "A non-empty comonadic Seq zipper";
license = lib.licenses.mit;
}

0 comments on commit 0e3e994

Please sign in to comment.