2018-07-02 06:18:21 +03:00
|
|
|
{ build-idris-package
|
2018-03-16 14:40:17 +03:00
|
|
|
, fetchFromGitHub
|
|
|
|
, contrib
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
build-idris-package {
|
|
|
|
name = "rationals";
|
|
|
|
version = "2017-04-29";
|
|
|
|
|
2018-07-02 06:18:21 +03:00
|
|
|
idrisDeps = [ contrib ];
|
2018-03-16 14:40:17 +03:00
|
|
|
|
|
|
|
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";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://github.com/mcgordonite/idris-binary-rationals";
|
2018-03-16 14:40:17 +03:00
|
|
|
maintainers = [ lib.maintainers.brainrape ];
|
|
|
|
};
|
|
|
|
}
|