depot/third_party/nixpkgs/pkgs/development/idris-modules/rationals.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
609 B
Nix

{ build-idris-package
, fetchFromGitHub
, contrib
, lib
}:
build-idris-package {
name = "rationals";
version = "2017-04-29";
idrisDeps = [ contrib ];
src = fetchFromGitHub {
owner = "mcgordonite";
repo = "idris-binary-rationals";
rev = "0d7010b267662d89e76e2cc8b27fd95ecca009b8";
sha256 = "0fc93n4pyqyrjxrspnr3vjzc09m78ni1ardq1vx9g40vmvl0n49s";
};
meta = {
description = "An idris rational number type built from paths in the Stern Brocot tree";
homepage = "https://github.com/mcgordonite/idris-binary-rationals";
maintainers = [ lib.maintainers.brainrape ];
};
}