Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 build-idris-package, 3 fetchFromGitHub, 4 contrib, 5 lib, 6}: 7build-idris-package { 8 pname = "rationals"; 9 version = "2017-04-29"; 10 11 idrisDeps = [ contrib ]; 12 13 src = fetchFromGitHub { 14 owner = "mcgordonite"; 15 repo = "idris-binary-rationals"; 16 rev = "0d7010b267662d89e76e2cc8b27fd95ecca009b8"; 17 sha256 = "0fc93n4pyqyrjxrspnr3vjzc09m78ni1ardq1vx9g40vmvl0n49s"; 18 }; 19 20 meta = { 21 description = "Idris rational number type built from paths in the Stern Brocot tree"; 22 homepage = "https://github.com/mcgordonite/idris-binary-rationals"; 23 maintainers = [ lib.maintainers.brainrape ]; 24 }; 25}