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

26 lines
577 B
Nix
Raw Normal View History

2018-03-16 11:40:17 +00:00
{ build-idris-package
, fetchFromGitHub
, bifunctors
, lib
}:
build-idris-package {
name = "lens";
version = "2017-09-25";
2018-07-02 03:18:21 +00:00
idrisDeps = [ bifunctors ];
2018-03-16 11:40:17 +00: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 ];
};
}