diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/agda/functional-linear-algebra/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/agda/functional-linear-algebra/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/agda/functional-linear-algebra/default.nix b/nixpkgs/pkgs/development/libraries/agda/functional-linear-algebra/default.nix new file mode 100644 index 000000000000..15603f293b4f --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/agda/functional-linear-algebra/default.nix @@ -0,0 +1,30 @@ +{ fetchFromGitHub, lib, mkDerivation, standard-library }: + +mkDerivation rec { + version = "0.2"; + pname = "functional-linear-algebra"; + + buildInputs = [ standard-library ]; + + src = fetchFromGitHub { + repo = "functional-linear-algebra"; + owner = "ryanorendorff"; + rev = "v${version}"; + sha256 = "1dz7kh92df23scl1pkhn70n1f2v3d0x84liphn9kpsd6wlsxccxc"; + }; + + preConfigure = '' + sh generate-everything.sh + ''; + + meta = with 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 ]; + }; +} |