nixpkgs-suyu/pkgs/development/idris-modules/lens.nix

26 lines
577 B
Nix
Raw Normal View History

2018-03-16 12:40:17 +01:00
{ build-idris-package
, fetchFromGitHub
, bifunctors
, lib
}:
build-idris-package {
name = "lens";
version = "2017-09-25";
2018-07-02 05:18:21 +02:00
idrisDeps = [ bifunctors ];
2018-03-16 12:40:17 +01:00
src = fetchFromGitHub {
owner = "HuwCampbell";
repo = "idris-lens";
rev = "421aa76c19607693ac2f23003dc0fe82c1a3760a";
sha256 = "1q6lmhrwd1qg18s253sim4hg2a2wk5439p3izy1f9ygi6pv4a6mk";
};
meta = {
description = "van Laarhoven lenses for Idris";
homepage = https://github.com/HuwCampbell/idris-lens;
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.brainrape ];
};
}