git.iko.soy/typeable/servant
on v0.3.1 help sign in
typeable/servant/default.nix
21 lines 581 B history raw
1{ pkgs ? import <nixpkgs> { config.allowUnfree = true; }
2, src ? builtins.filterSource (path: type:
3 type != "unknown" &&
4 baseNameOf path != ".git" &&
5 baseNameOf path != "result" &&
6 baseNameOf path != "dist") ./.
7}:
8let
9 servant02 = pkgs.fetchgit {
10 url = https://github.com/haskell-servant/servant.git;
11 rev = "refs/heads/servant-0.2";
12 sha256 = "0mcn9d8hnijws1p8y6h3r0298f1x8mya2nshyi46mprrj2kn8wmm";
13 };
14in
15pkgs.haskellPackages.buildLocalCabalWithArgs {
16 name = "servant-client";
17 inherit src;
18 args = {
19 servant = import servant02 {};
20 };