nixpkgs/pkgs/development/idris-modules/dict.nix
2018-03-20 07:16:21 +01:00

32 lines
676 B
Nix

{ build-idris-package
, fetchFromGitHub
, prelude
, contrib
, lib
, idris
}:
build-idris-package {
name = "dict";
version = "2016-12-26";
idrisDeps = [ prelude contrib ];
src = fetchFromGitHub {
owner = "be5invis";
repo = "idris-dict";
rev = "dddc7c9f45e079b151ee03c9752b968ceeab9dab";
sha256 = "18riq40vapg884y92w10w51j4896ah984zm5hisfv1sm9qbgx8ii";
};
postUnpack = ''
sed -i 's/\"//g' source/dict.ipkg
'';
meta = {
description = "Dict k v in Idris";
homepage = https://github.com/be5invis/idris-dict;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.brainrape ];
inherit (idris.meta) platforms;
};
}