mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
25 lines
607 B
Nix
25 lines
607 B
Nix
{ 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 = "Idris rational number type built from paths in the Stern Brocot tree";
|
|
homepage = "https://github.com/mcgordonite/idris-binary-rationals";
|
|
maintainers = [ lib.maintainers.brainrape ];
|
|
};
|
|
}
|