about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/science/machine-learning/openbugs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/science/machine-learning/openbugs/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/science/machine-learning/openbugs/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/science/machine-learning/openbugs/default.nix b/nixpkgs/pkgs/applications/science/machine-learning/openbugs/default.nix
new file mode 100644
index 000000000000..8d49534a11f8
--- /dev/null
+++ b/nixpkgs/pkgs/applications/science/machine-learning/openbugs/default.nix
@@ -0,0 +1,22 @@
+{ lib
+, stdenv
+, fetchurl
+}:
+
+stdenv.mkDerivation rec {
+  pname = "OpenBUGS";
+  version = "3.2.3";
+
+  src = fetchurl {
+    url = "https://www.mrc-bsu.cam.ac.uk/wp-content/uploads/2018/04/${pname}-${version}.tar.gz";
+    sha256 = "sha256-oonE2gxKw3H4ATImyF69Cp4d7F3puFiVDkhUy4FLTtg=";
+  };
+
+  meta = with lib; {
+    description = "Open source program for Bayesian modelling based on MCMC";
+    homepage = "https://www.mrc-bsu.cam.ac.uk/software/bugs/openbugs/";
+    maintainers = with maintainers; [ andresnav ];
+    license = licenses.gpl3Only;
+    platforms = [ "i686-linux" ];
+  };
+}