nixpkgs/pkgs/development/idris-modules/dict.nix

30 lines
616 B
Nix
Raw Normal View History

2018-03-16 11:40:17 +00:00
{ build-idris-package
, fetchFromGitHub
, contrib
, lib
}:
build-idris-package {
name = "dict";
version = "2016-12-26";
2018-07-02 03:18:21 +00:00
idrisDeps = [ contrib ];
2018-03-16 11:40:17 +00:00
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";
2018-03-16 11:40:17 +00:00
license = lib.licenses.mit;
maintainers = [ lib.maintainers.brainrape ];
};
}