2021-02-05 17:12:51 +00:00
|
|
|
{ fetchFromGitHub, lib, mkDerivation, standard-library }:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.5.0";
|
2020-10-16 20:44:37 +00:00
|
|
|
pname = "functional-linear-algebra";
|
|
|
|
|
|
|
|
buildInputs = [ standard-library ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "functional-linear-algebra";
|
|
|
|
owner = "ryanorendorff";
|
|
|
|
rev = "v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-3nme/eH4pY6bD0DkhL4Dj/Vp/WnZqkQtZTNk+n1oAyY=";
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
preConfigure = ''
|
|
|
|
sh generate-everything.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-16 20:44:37 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|