Commit 1775d421 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.pymc: switch to finalAttrs

parent ed80bc68
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  writableTmpDirAsHomeHook,

  # build-system
  setuptools,
@@ -18,11 +19,9 @@
  scipy,
  threadpoolctl,
  typing-extensions,

  writableTmpDirAsHomeHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "pymc";
  version = "5.27.0";
  pyproject = true;
@@ -30,7 +29,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "pymc-devs";
    repo = "pymc";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-wBeWydrHrF+wNZnqWa2k8tCaUvjcoiSrmY85LUhrQds=";
  };

@@ -68,10 +67,10 @@ buildPythonPackage rec {
  meta = {
    description = "Bayesian estimation, particularly using Markov chain Monte Carlo (MCMC)";
    homepage = "https://github.com/pymc-devs/pymc";
    changelog = "https://github.com/pymc-devs/pymc/releases/tag/v${version}";
    changelog = "https://github.com/pymc-devs/pymc/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [
      nidabdella
    ];
  };
}
})