summary refs log tree commit diff
path: root/pkgs/development/idris-modules/rationals.nix
blob: 9513b79e1aa7759afa9195a7af8b8891c54b2b9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ build-idris-package
, fetchFromGitHub
, contrib
, lib
}:
build-idris-package {
  pname = "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 ];
  };
}