aboutsummaryrefslogtreecommitdiffhomepage
path: root/default.nix
diff options
context:
space:
mode:
authorJulien Tanguy <julien.tanguy@jhome.fr>2015-05-06 11:15:04 +0200
committerJulien Tanguy <julien.tanguy@jhome.fr>2015-05-06 11:15:04 +0200
commit7001a61e8fa105cd51715e471d0a682bf23528fd (patch)
tree2ee75ab9a5959baa23db6fd9b60c63aa610ada13 /default.nix
parenta22bcdb648d1f540ae895cb246997dcdcce7b568 (diff)
downloadhmacaroons-7001a61e8fa105cd51715e471d0a682bf23528fd.tar.gz
hmacaroons-7001a61e8fa105cd51715e471d0a682bf23528fd.tar.zst
hmacaroons-7001a61e8fa105cd51715e471d0a682bf23528fd.zip
Nixify package & documentation
Added quickcheck helper
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..10ee0b9
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,20 @@
1{ mkDerivation, attoparsec, base, base64-bytestring, byteable
2, bytestring, cereal, cipher-aes, cryptohash, deepseq, hex, stdenv
3, tasty, tasty-hunit, tasty-quickcheck
4}:
5mkDerivation {
6 pname = "hmacaroons";
7 version = "0.1.0.0";
8 src = ./.;
9 buildDepends = [
10 attoparsec base base64-bytestring byteable bytestring cereal
11 cipher-aes cryptohash deepseq hex
12 ];
13 testDepends = [
14 attoparsec base base64-bytestring byteable bytestring cereal
15 cryptohash hex tasty tasty-hunit tasty-quickcheck
16 ];
17 homepage = "https://github.com/jtanguy/hmacaroons";
18 description = "Haskell implementation of macaroons";
19 license = stdenv.lib.licenses.bsd3;
20}