summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2018-04-11 13:01:17 +0200
committerMatthew Justin Bauer <mjbauer95@gmail.com>2018-04-21 20:40:22 -0500
commit7dc6b2e3c35f916d431ba5c10e8f71e044de7f49 (patch)
tree20cb3eff39da0091a4b851697f12f30ce15e4cad /pkgs/applications/science
parenta037da9afe741c5197e1992f38d29d6bf4ee1e00 (diff)
downloadnixlib-7dc6b2e3c35f916d431ba5c10e8f71e044de7f49.tar
nixlib-7dc6b2e3c35f916d431ba5c10e8f71e044de7f49.tar.gz
nixlib-7dc6b2e3c35f916d431ba5c10e8f71e044de7f49.tar.bz2
nixlib-7dc6b2e3c35f916d431ba5c10e8f71e044de7f49.tar.lz
nixlib-7dc6b2e3c35f916d431ba5c10e8f71e044de7f49.tar.xz
nixlib-7dc6b2e3c35f916d431ba5c10e8f71e044de7f49.tar.zst
nixlib-7dc6b2e3c35f916d431ba5c10e8f71e044de7f49.zip
pynac: init at 0.7.19
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/math/pynac/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/pynac/default.nix b/pkgs/applications/science/math/pynac/default.nix
new file mode 100644
index 000000000000..fd566abd9a9a
--- /dev/null
+++ b/pkgs/applications/science/math/pynac/default.nix
@@ -0,0 +1,47 @@
+{ stdenv
+, fetchFromGitHub
+, autoreconfHook
+, pkgconfig
+, flint
+, gmp
+, python2
+, singular
+}:
+
+stdenv.mkDerivation rec {
+  version = "0.7.19";
+  name = "pynac-${version}";
+
+  src = fetchFromGitHub {
+    owner = "pynac";
+    repo = "pynac";
+    rev = "pynac-${version}";
+    sha256 = "132bibvapm245c5xy29j3xmjs0pawvw7lv05374m8vv1m39127d3";
+  };
+
+  buildInputs = [
+    flint
+    gmp
+    singular
+    singular
+    python2
+  ];
+
+  nativeBuildInputs = [
+    autoreconfHook
+    pkgconfig
+  ];
+
+  meta = with stdenv.lib; {
+    description = "Python is Not a CAS -- modified version of Ginac";
+    longDescription = ''
+      Pynac -- "Python is Not a CAS" is a modified version of Ginac that
+      replaces the depency of GiNaC on CLN by a dependency instead of Python.
+      It is a lite version of GiNaC as well, not implementing all the features
+      of the full GiNaC, and it is *only* meant to be used as a Python library.
+    '';
+    homepage    = http://pynac.org;
+    maintainers = with maintainers; [ timokau ];
+    platforms   = platforms.linux;
+  };
+}