{ build-idris-package
, fetchFromGitHub
, lib
}:
build-idris-package  {
  pname = "cube";
  version = "2017-07-05";

  src = fetchFromGitHub {
    owner = "aatxe";
    repo = "cube.idr";
    rev = "edf66d82b3a363dc65c6f5416c9e24e746bad71e";
    sha256 = "11k45j0b4qabj6zhwjvynyj56nmssf7d4fnkv66bd2w1pxnshzxg";
  };

  meta = {
    description = "Implementation of the Lambda Cube in Idris";
    homepage = "https://github.com/aatxe/cube.idr";
    license = lib.licenses.agpl3Only;
    maintainers = [ lib.maintainers.brainrape ];
  };
}
