13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
20 rev = "pynac-${version}";
21 sha256 = "sha256-ocR7emXtKs+Xe2f6dh4xEDAacgiolY8mtlLnWnNBS8A=";
25 # the patch below is included in sage 9.4 and should be included
26 # in a future pynac release. see https://trac.sagemath.org/ticket/28357
28 name = "realpartloop.patch";
29 url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/realpartloop.patch?h=9.4.beta5";
30 sha256 = "sha256-1nj0xtlFN5fZKEiRLD+tiW/ZtxMQre1ziEGA0OVUGE4=";
48 description = "Python is Not a CAS -- modified version of Ginac";
50 Pynac -- "Python is Not a CAS" is a modified version of Ginac that
51 replaces the depency of GiNaC on CLN by a dependency instead of Python.
52 It is a lite version of GiNaC as well, not implementing all the features
53 of the full GiNaC, and it is *only* meant to be used as a Python library.
55 homepage = "http://pynac.org";
56 license = licenses.gpl2Plus;
57 maintainers = teams.sage.members;
58 platforms = platforms.unix;