agda-packages: add fla library at v0.1

Adds the functional-linear-algebra library to the agda package set.
This commit is contained in:
Ryan Orendorff 2020-10-13 20:30:20 -06:00
parent 617b980961
commit c78dc9cf5b
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ fetchFromGitHub, lib, stdenv, mkDerivation, standard-library }:
mkDerivation rec {
version = "0.1";
pname = "functional-linear-algebra";
buildInputs = [ standard-library ];
src = fetchFromGitHub {
repo = "functional-linear-algebra";
owner = "ryanorendorff";
rev = "v${version}";
sha256 = "09ri3jmgp9jjwi1mzv4c3w6rvcmyx6spa2qxpwlcn0f4bmfva6wm";
};
meta = with stdenv.lib; {
homepage = "https://github.com/ryanorendorff/functional-linear-algebra";
description = ''
Formalizing linear algebra in Agda by representing matrices as functions
from one vector space to another.
'';
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ ryanorendorff ];
};
}

View File

@ -25,6 +25,9 @@ let
cubical = callPackage ../development/libraries/agda/cubical { };
functional-linear-algebra = callPackage
../development/libraries/agda/functional-linear-algebra { };
generic = callPackage ../development/libraries/agda/generic { };
};
in mkAgdaPackages Agda