mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
33 lines
701 B
Nix
33 lines
701 B
Nix
{ 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;
|
|
};
|
|
}
|