2021-01-25 09:26:54 +01:00
|
|
|
{ fetchFromGitHub, lib, mkDerivation, standard-library }:
|
2020-10-14 04:30:20 +02:00
|
|
|
|
|
|
|
mkDerivation rec {
|
2021-07-27 03:37:01 +02:00
|
|
|
version = "0.4";
|
2020-10-14 04:30:20 +02:00
|
|
|
pname = "functional-linear-algebra";
|
|
|
|
|
|
|
|
buildInputs = [ standard-library ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "functional-linear-algebra";
|
|
|
|
owner = "ryanorendorff";
|
|
|
|
rev = "v${version}";
|
2021-07-27 03:37:01 +02:00
|
|
|
sha256 = "05jk3792k9xf8iiwzm2hwlvd25f2pqqr3gppmqjf8xb9199i8fk0";
|
2020-10-14 04:30:20 +02:00
|
|
|
};
|
|
|
|
|
2021-01-27 13:44:40 +01:00
|
|
|
preConfigure = ''
|
|
|
|
sh generate-everything.sh
|
|
|
|
'';
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-10-14 04:30:20 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|