1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/development/idris-modules/lightyear.nix
Matthew Pickering 947e7d80b4 Refactor Idris packaging infrastructure
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.
2018-02-07 19:25:50 +00:00

34 lines
660 B
Nix

{ build-idris-package
, fetchFromGitHub
, prelude
, base
, effects
, lib
, idris
}:
let
date = "2017-09-10";
in
build-idris-package {
name = "lightyear";
version = date;
idrisDeps = [ prelude base effects ];
src = fetchFromGitHub {
owner = "ziman";
repo = "lightyear";
rev = "f737e25a09c1fe7c5fff063c53bd7458be232cc8";
sha256 = "05x66abhpbdm6yr0afbwfk6w04ysdk78gylj5alhgwhy4jqakv29";
};
meta = {
description = "Parser combinators for Idris";
homepage = https://github.com/ziman/lightyear;
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.siddharthist ];
inherit (idris.meta) platforms;
};
}