nixpkgs/pkgs/development/octave-modules/symbolic/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
862 B
Nix
Raw Normal View History

2020-12-13 00:25:18 +00:00
{ buildOctavePackage
, lib
, fetchFromGitHub
2020-12-13 00:25:18 +00:00
# Octave's Python (Python 3)
, python
}:
let
pythonEnv = python.withPackages (ps: [
2020-12-13 00:25:18 +00:00
ps.sympy
ps.mpmath
]);
2020-12-13 00:25:18 +00:00
in buildOctavePackage rec {
pname = "symbolic";
version = "unstable-2021-10-16";
2020-12-13 00:25:18 +00:00
# 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=";
2020-12-13 00:25:18 +00:00
};
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";
};
}