Skip to content

Commit 829df76

Browse files
committedNov 5, 2023
Loosen version constraints, prep for CI & Hackage upload
1 parent 4313c37 commit 829df76

File tree

4 files changed

+44
-17
lines changed

4 files changed

+44
-17
lines changed
 

‎.gitignore

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/docs/*
2+
result
3+
result-*
4+
/result/*
5+
dist-newstyle/*
6+
*/dist-newstyle/*
7+
*.hoo
8+
*.warn
9+
.direnv/*
10+
*.o
11+
*.hi
12+
*.dyn_o
13+
*.dyn_hi
14+
cabal.project.local
15+
cabal.project.local~
16+

‎flake.nix

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
pkgs = nixpkgs.legacyPackages.${system};
1313

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

1718
jailbreakUnbreak = pkg:
@@ -21,7 +22,6 @@
2122
in {
2223
packages.${packageName} =
2324
haskellPackages.callCabal2nix packageName self rec {
24-
# Dependency overrides go here
2525
};
2626

2727
packages.default = self.packages.${system}.${packageName};
@@ -30,11 +30,13 @@
3030
devShells.default = pkgs.mkShell {
3131
buildInputs = with pkgs; [
3232

33+
cabal-install
34+
3335
haskellPackages.haskell-language-server
36+
3437
haskellPackages.hlint
3538
haskellPackages.stylish-haskell
3639
haskellPackages.hindent
37-
cabal-install
3840

3941
# Optional: Only needed to make use of ./justfile
4042
just

‎hegg-patterns.cabal

+22-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
1-
cabal-version: 3.0
2-
name: hegg-patterns
3-
version: 0.1.0.0
1+
cabal-version: 3.0
2+
name: hegg-patterns
3+
version: 0.1.0.0
44
synopsis:
55
E-graph rewrite rules for common algebraic identities, for use with hegg.
66

77
description:
88
E-graph [@Rewrite@ rules](https://hackage.haskell.org/package/hegg-0.4.0.0/docs/Data-Equality-Saturation-Rewrites.html#t:Rewrite)
99
associated with common algebraic identities, for use with [hegg](https://hackage.haskell.org/package/hegg).
10-
license: MIT
11-
license-file: LICENSE
12-
author: Eric Meinhardt
13-
maintainer: ericmeinhardt@gmail.com
14-
copyright: 2023
15-
category: Data
16-
build-type: Simple
17-
extra-doc-files: CHANGELOG.md
10+
11+
license: MIT
12+
license-file: LICENSE
13+
author: Eric Meinhardt
14+
maintainer: ericmeinhardt@gmail.com
15+
copyright: 2023
16+
homepage: https://github.com/emeinhardt/hegg-patterns
17+
bug-reports: https://github.com/emeinhardt/hegg-patterns/issues
18+
category: Data
19+
build-type: Simple
20+
extra-doc-files: CHANGELOG.md
21+
22+
source-repository head
23+
type: git
24+
location: https://github.com/emeinhardt/hegg-patterns/hegg-patterns.git
1825

1926
common warnings
2027
ghc-options:
@@ -25,7 +32,8 @@ library
2532
default-language: GHC2021
2633
default-extensions: UnicodeSyntax
2734
hs-source-dirs: src
28-
exposed-modules: Data.Equality.Matching.Pattern.Extras
35+
exposed-modules:
36+
Data.Equality.Matching.Pattern.Extras
2937
build-depends:
30-
base ^>=4.17.1.0
31-
, hegg ==0.4.*
38+
base >= 4.16 && <5.0
39+
, hegg == 0.4.*

‎hegg-patterns.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ mkDerivation {
44
version = "0.1.0.0";
55
src = ./.;
66
libraryHaskellDepends = [ base hegg ];
7-
description = "Rewrite rules for common algebraic identities, for use with [hegg](https://hackage.haskell.org/package/hegg).";
7+
homepage = "https://github.com/emeinhardt/hegg-patterns";
8+
description = "E-graph rewrite rules for common algebraic identities, for use with hegg";
89
license = lib.licenses.mit;
910
}

0 commit comments

Comments
 (0)
Please sign in to comment.