Skip to content

Commit

Permalink
nix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Sydney Kerckhove committed Aug 11, 2024
1 parent 17294d1 commit 053a1fb
Show file tree
Hide file tree
Showing 60 changed files with 519 additions and 8 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
2 changes: 0 additions & 2 deletions Setup.hs

This file was deleted.

2 changes: 2 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages: */*.cabal
test-show-details: direct
48 changes: 48 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{ mkDerivation
, aeson
, base
, bytestring
, deepseq
, exceptions
, filepath
, genvalidity
, genvalidity-hspec
, hashable
, hspec
, lib
, QuickCheck
, template-haskell
, text
, validity-bytestring
}:
mkDerivation {
pname = "path";
version = "0.9.6";
src = ./.;
libraryHaskellDepends = [
aeson
base
deepseq
exceptions
filepath
hashable
template-haskell
text
];
testHaskellDepends = [
aeson
base
bytestring
exceptions
filepath
genvalidity
genvalidity-hspec
hspec
QuickCheck
template-haskell
validity-bytestring
];
doHaddock = false;
description = "Support for well-typed paths";
license = lib.licenses.bsd3;
}
Loading

0 comments on commit 053a1fb

Please sign in to comment.