git.iko.soy/typeable/nixpkgs
on master help sign in
agdaPackages.agdarsec: Init at 0.4.1
commit2e5ce8930cf14bdfc8c6e524b82eaf15286214b1 authorManuel Bärenz <programming@manuelbaerenz.de> dateMon 12 Oct 2020, 20:00 (6 years ago) parent58ec6ce
2 files changed+30
pkgs/development/libraries/agda/agdarsec/default.nix+28 pkgs/top-level/agda-packages.nix+2
pkgs/development/libraries/agda/agdarsec/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ lib, mkDerivation, fetchFromGitHub
2+, standard-library }:
3+
4+mkDerivation rec {
5+ pname = "agdarsec";
6+ version = "0.4.1";
7+
8+ src = fetchFromGitHub {
9+ owner = "gallais";
10+ repo = "agdarsec";
11+ rev = "v${version}";
12+ sha256 = "02fqkycvicw6m2xsz8p01aq8n3gj2d2gyx8sgj15l46f8434fy0x";
13+ };
14+
15+ everythingFile = "./index.agda";
16+
17+ includePaths = [ "src" "examples" ];
18+
19+ buildInputs = [ standard-library ];
20+
21+ meta = with lib; {
22+ homepage = "https://gallais.github.io/agdarsec/";
23+ description = "Total Parser Combinators in Agda";
24+ license = licenses.gpl3;
25+ platforms = platforms.unix;
26+ maintainers = with maintainers; [ turion ];
27+ };
28+}
pkgs/top-level/agda-packages.nix+2
@@ -31,5 +31,7 @@ let
3131 ../development/libraries/agda/functional-linear-algebra { };
3232
3333 generic = callPackage ../development/libraries/agda/generic { };
34+
35+ agdarsec = callPackage ../development/libraries/agda/agdarsec { };
3436 };
3537in mkAgdaPackages Agda