Skip to content

Commit

Permalink
Adds nix support
Browse files Browse the repository at this point in the history
  • Loading branch information
solatis committed Jul 11, 2015
1 parent ac7573f commit cf6329e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions base58string.nix
@@ -0,0 +1,13 @@
{ mkDerivation, aeson, base, binary, bytestring, hspec, stdenv
, text
}:
mkDerivation {
pname = "base58string";
version = "0.10.0";
src = ./.;
buildDepends = [ aeson base binary bytestring text ];
testDepends = [ base binary bytestring hspec text ];
homepage = "http://www.leonmergen.com/opensource.html";
description = "Fast and safe representation of a Base-58 string";
license = stdenv.lib.licenses.mit;
}
2 changes: 2 additions & 0 deletions default.nix
@@ -0,0 +1,2 @@
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7101" }:
nixpkgs.haskellPackages.callPackage ./base58string.nix { }
2 changes: 2 additions & 0 deletions shell.nix
@@ -0,0 +1,2 @@
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc7101" }:
(import ./default.nix { inherit nixpkgs compiler; }).env

0 comments on commit cf6329e

Please sign in to comment.