2018-03-16 12:40:17 +01:00
|
|
|
{ build-idris-package
|
|
|
|
, fetchFromGitHub
|
|
|
|
, specdris
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
build-idris-package {
|
2022-02-14 23:08:24 +01:00
|
|
|
pname = "patricia";
|
2018-03-16 12:40:17 +01:00
|
|
|
version = "2017-10-27";
|
|
|
|
|
2018-07-02 05:18:21 +02:00
|
|
|
idrisDeps = [ specdris ];
|
2018-03-16 12:40:17 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ChShersh";
|
|
|
|
repo = "idris-patricia";
|
|
|
|
rev = "24724e6d0564f2f813d0d0a58f5c5db9afe35313";
|
|
|
|
sha256 = "093q3qjmr93wv8pqwk0zfm3hzf14c235k9c9ip53rhg6yzcm0yqz";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Immutable map from integer keys to values based on patricia tree. Basically persistent array.";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/ChShersh/idris-patricia";
|
2018-03-16 12:40:17 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.brainrape ];
|
|
|
|
};
|
|
|
|
}
|