summary refs log tree commit diff
path: root/pkgs/development/idris-modules/permutations.nix
blob: af93f4af5e03b2e7345473a4e05092a976f7f9ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ build-idris-package
, fetchFromGitHub
, prelude
, base
, lib
, idris
}:
build-idris-package  {
  name = "permutations";
  version = "2018-01-19";

  idrisDeps = [ prelude base ];

  src = fetchFromGitHub {
    owner = "vmchale";
    repo = "permutations";
    rev = "f0de6bc721bb9d31e16f9168ded6eb6e34935881";
    sha256 = "1dirzqy40fczbw7gp2jr51lzqsnq5vcx9z5l6194lcrq2vxgzv1s";
  };

  postUnpack = ''
    rm source/test.ipkg
  '';

  meta = {
    description = "Type-safe way of working with permutations in Idris";
    homepage = https://github.com/vmchale/permutations;
    license = lib.licenses.bsd3;
    maintainers = [ lib.maintainers.brainrape ];
    inherit (idris.meta) platforms;
  };
}