Created
August 17, 2017 01:35
-
-
Save LightAndLight/597e7f04151f5caf51740de237fc5a08 to your computer and use it in GitHub Desktop.
Nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> { }; | |
let | |
latest = | |
import (fetchTarball https://github.com/nixos/nixpkgs-channels/archive/129f8d7e999b1a1f0fceaecadca30211e34d85a6.tar.gz) {}; | |
in | |
latest.haskellPackages.callPackage | |
./hpython.nix | |
{ | |
inherit (import ./papa.nix latest.haskellPackages); | |
tasty-hedgehog = import ../tasty-hedgehog { pkgs = latest; }; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ mkDerivation, ansi-wl-pprint, base, charset, deriving-compat | |
, directory, filepath, hedgehog, papa, parsers, pretty, process | |
, stdenv, tasty, tasty-hspec, text, transformers, trifecta, tasty-hedgehog | |
}: | |
mkDerivation { | |
pname = "hpython"; | |
version = "0.0.1.0"; | |
src = ./.; | |
libraryHaskellDepends = [ | |
base charset deriving-compat papa parsers pretty text transformers | |
trifecta | |
]; | |
testHaskellDepends = [ | |
ansi-wl-pprint base directory filepath hedgehog papa pretty process | |
tasty tasty-hspec text transformers trifecta tasty-hedgehog | |
]; | |
homepage = "https://github.com/qfpl/hpython"; | |
description = "Write Python using Haskell"; | |
license = stdenv.lib.licenses.bsd3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment