mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
947e7d80b4
The main two changes are 1. Completely rewrite how with-packages works to remove use of envHooks 2. The package description is now an idris specific set rather than being a subset of the arguments to mkDerivation. This mirrors the way Haskell packages are treated.
37 lines
677 B
Nix
37 lines
677 B
Nix
{ curl
|
|
, build-idris-package
|
|
, fetchFromGitHub
|
|
, lightyear
|
|
, contrib
|
|
, effects
|
|
, prelude
|
|
, base
|
|
, lib
|
|
, idris
|
|
}:
|
|
|
|
let
|
|
in
|
|
build-idris-package {
|
|
name = "httpclient";
|
|
version = "2016-12-20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "justjoheinz";
|
|
repo = "idris-httpclient";
|
|
rev = "4a7296d572d7f7fde87d27da07d5c9566dc4ff14";
|
|
sha256 = "0sy0q7gri9lwbqdmx9720pby3w1470w7wzn62bf2rir532219hhl";
|
|
};
|
|
|
|
idrisDeps = [ prelude base effects lightyear contrib ];
|
|
|
|
extraBuildInputs = [ curl ];
|
|
|
|
meta = {
|
|
description = "HTTP Client for Idris";
|
|
homepage = https://github.com/justjoheinz/idris-httpclient;
|
|
inherit (idris.meta) platforms;
|
|
broken = true;
|
|
};
|
|
}
|