mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
idrisPackages.httpclient: init
This commit is contained in:
parent
3e92b56be3
commit
4c1d8b4347
30
pkgs/development/idris-modules/httpclient.nix
Normal file
30
pkgs/development/idris-modules/httpclient.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ pkgs
|
||||
, build-idris-package
|
||||
, fetchFromGitHub
|
||||
, lightyear
|
||||
, contrib
|
||||
, lib
|
||||
, idris
|
||||
}:
|
||||
|
||||
let
|
||||
date = "2016-12-20";
|
||||
in
|
||||
build-idris-package {
|
||||
name = "httpclient-${date}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "justjoheinz";
|
||||
repo = "idris-httpclient";
|
||||
rev = "4a7296d572d7f7fde87d27da07d5c9566dc4ff14";
|
||||
sha256 = "0sy0q7gri9lwbqdmx9720pby3w1470w7wzn62bf2rir532219hhl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pkgs.curl lightyear contrib ];
|
||||
|
||||
meta = {
|
||||
description = "HTTP Client for Idris";
|
||||
homepage = https://github.com/justjoheinz/idris-httpclient;
|
||||
inherit (idris.meta) platforms;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user