openbugs: switch to new upstream (#316714)

authored by

Arne Keller and committed by
GitHub
0ac0220f 3dc8ff15

+12 -7
+12 -7
pkgs/applications/science/machine-learning/openbugs/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , fetchurl 3 + , fetchFromGitHub 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "OpenBUGS"; 8 8 version = "3.2.3"; 9 9 10 - src = fetchurl { 11 - url = "https://www.mrc-bsu.cam.ac.uk/wp-content/uploads/2018/04/${pname}-${version}.tar.gz"; 12 - sha256 = "sha256-oonE2gxKw3H4ATImyF69Cp4d7F3puFiVDkhUy4FLTtg="; 10 + outputs = [ "out" ]; 11 + 12 + src = fetchFromGitHub { 13 + owner = "jsta"; 14 + repo = "openbugs"; 15 + rev = "cd921342ba13ee89ee60f9aebd2e96c42bd59ae3"; 16 + sha256 = "sha256-11LrScN1kvtq0Fo7RWGjbQO0U5b5brCbipl5pdZnrFs="; 13 17 }; 14 18 15 19 meta = with lib; { 16 - description = "Open source program for Bayesian modelling based on MCMC"; 20 + description = "Software package for performing Bayesian analysis and simulation using Markov Chain Monte Carlo"; 17 21 homepage = "https://www.mrc-bsu.cam.ac.uk/software/bugs/openbugs/"; 18 - maintainers = with maintainers; [ andresnav ]; 22 + changelog = "https://github.com/jsta/openbugs/blob/master/ChangeLog"; 23 + platforms = [ "i686-linux" "x86_64-linux" ]; 19 24 license = licenses.gpl3Only; 20 - platforms = [ "i686-linux" ]; 25 + maintainers = with maintainers; [ andresnav ]; 21 26 }; 22 27 }