1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation {
8 pname = "OpenBUGS";
9 version = "3.2.3";
10
11 outputs = [ "out" ];
12
13 src = fetchFromGitHub {
14 owner = "jsta";
15 repo = "openbugs";
16 rev = "cd921342ba13ee89ee60f9aebd2e96c42bd59ae3";
17 sha256 = "sha256-11LrScN1kvtq0Fo7RWGjbQO0U5b5brCbipl5pdZnrFs=";
18 };
19
20 meta = with lib; {
21 description = "Software package for performing Bayesian analysis and simulation using Markov Chain Monte Carlo";
22 homepage = "https://github.com/jsta/openbugs/";
23 changelog = "https://github.com/jsta/openbugs/blob/master/ChangeLog";
24 platforms = [
25 "i686-linux"
26 "x86_64-linux"
27 ];
28 license = licenses.gpl3Only;
29 maintainers = with maintainers; [ andresnav ];
30 };
31}