summary refs log tree commit diff
path: root/pkgs/development/idris-modules/protobuf.nix
blob: 4b4c26942022d9e429d88bd176ee21e13ce5b462 (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
25
26
27
28
{ build-idris-package
, fetchFromGitHub
, prelude
, lightyear
, lib
, idris
}:
build-idris-package  {
  name = "protobuf";
  version = "2017-08-12";

  idrisDeps = [ prelude lightyear ];

  src = fetchFromGitHub {
    owner = "artagnon";
    repo = "idris-protobuf";
    rev = "c21212534639518453d16ae1b0f07d94464ff8eb";
    sha256 = "0n5w7bdbxqca3b7hzg95md01mx4sfvl9fi82xjm0hzds33akmn05";
  };

  meta = {
    description = "A partial implementation of Protocol Buffers in Idris";
    homepage = https://github.com/artagnon/idris-protobuf;
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.brainrape ];
    inherit (idris.meta) platforms;
  };
}