nixpkgs/pkgs/development/idris-modules/dict.nix
2020-04-10 17:54:53 +01:00

29 lines
616 B
Nix

{ build-idris-package
, fetchFromGitHub
, contrib
, lib
}:
build-idris-package {
name = "dict";
version = "2016-12-26";
idrisDeps = [ 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 ];
};
}