Commit 46feab2d authored by Bruno BELANYI's avatar Bruno BELANYI
Browse files

python3Packages.recipe-scrapers: use finalAttrs

parent ed971249
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
  nixosTests,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "recipe-scrapers";
  version = "15.11.0";
  pyproject = true;
@@ -25,7 +25,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "hhursev";
    repo = "recipe-scrapers";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-S0/RPVeEr/lAPJZSUwCippuXyirYnmaAuesWGYwg6kE=";
  };

@@ -64,8 +64,8 @@ buildPythonPackage rec {
  meta = {
    description = "Python package for scraping recipes data";
    homepage = "https://github.com/hhursev/recipe-scrapers";
    changelog = "https://github.com/hhursev/recipe-scrapers/releases/tag/${src.tag}";
    changelog = "https://github.com/hhursev/recipe-scrapers/releases/tag/${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ambroisie ];
  };
}
})