nixpkgs/pkgs/development/octave-modules/symbolic/default.nix
hqurve 22d5fde0ee octavePackages.symbolic: 2.9.0 -> unstable-2021-10-16
Fixes https://github.com/NixOS/nixpkgs/issues/160381

https://github.com/cbm755/octsympy/issues/1023 previously prevented us
from using sympy 1.6+.
This issue has since been resolved however, no new tag nor release has
been made.
2022-02-17 18:03:27 -04:00

36 lines
862 B
Nix

{ buildOctavePackage
, lib
, fetchFromGitHub
# Octave's Python (Python 3)
, python
}:
let
pythonEnv = python.withPackages (ps: [
ps.sympy
ps.mpmath
]);
in buildOctavePackage rec {
pname = "symbolic";
version = "unstable-2021-10-16";
# https://github.com/cbm755/octsympy/issues/1023 has been resolved, however
# a new release has not been made
src = fetchFromGitHub {
owner = "cbm755";
repo = "octsympy";
rev = "5b58530f4ada78c759829ae703a0e5d9832c32d4";
sha256 = "sha256-n6P1Swjl4RfgxfLY0ZuN3pcL8PcoknA6yxbnw96OZ2k=";
};
propagatedBuildInputs = [ pythonEnv ];
meta = with lib; {
homepage = "https://octave.sourceforge.io/symbolic/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Adds symbolic calculation features to GNU Octave";
};
}