diff options
author | Márton Boros <martonboros@gmail.com> | 2018-03-16 12:40:17 +0100 |
---|---|---|
committer | Márton Boros <martonboros@gmail.com> | 2018-03-20 07:16:21 +0100 |
commit | 23ee7c9d8d510a781c9796d392e968537d254883 (patch) | |
tree | 9ffcf98ac7abb04d6c0bf083e93409f8a6b49a8b /pkgs/development/idris-modules/patricia.nix | |
parent | cf65d477fd9e92823c64a44521835c82e122c2f2 (diff) | |
download | nixpkgs-23ee7c9d8d510a781c9796d392e968537d254883.tar nixpkgs-23ee7c9d8d510a781c9796d392e968537d254883.tar.gz nixpkgs-23ee7c9d8d510a781c9796d392e968537d254883.tar.bz2 nixpkgs-23ee7c9d8d510a781c9796d392e968537d254883.tar.lz nixpkgs-23ee7c9d8d510a781c9796d392e968537d254883.tar.xz nixpkgs-23ee7c9d8d510a781c9796d392e968537d254883.tar.zst nixpkgs-23ee7c9d8d510a781c9796d392e968537d254883.zip |
idrisPackages: add packages
Diffstat (limited to 'pkgs/development/idris-modules/patricia.nix')
-rw-r--r-- | pkgs/development/idris-modules/patricia.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/idris-modules/patricia.nix b/pkgs/development/idris-modules/patricia.nix new file mode 100644 index 00000000000..e3c1cb82f28 --- /dev/null +++ b/pkgs/development/idris-modules/patricia.nix @@ -0,0 +1,32 @@ +{ build-idris-package +, fetchFromGitHub +, prelude +, specdris +, lib +, idris +}: +build-idris-package { + name = "patricia"; + version = "2017-10-27"; + + idrisDeps = [ prelude specdris ]; + + src = fetchFromGitHub { + owner = "ChShersh"; + repo = "idris-patricia"; + rev = "24724e6d0564f2f813d0d0a58f5c5db9afe35313"; + sha256 = "093q3qjmr93wv8pqwk0zfm3hzf14c235k9c9ip53rhg6yzcm0yqz"; + }; + + postUnpack = '' + rm source/patricia-nix.ipkg + ''; + + meta = { + description = "Immutable map from integer keys to values based on patricia tree. Basically persistent array."; + homepage = https://github.com/ChShersh/idris-patricia; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.brainrape ]; + inherit (idris.meta) platforms; + }; +} |