Unverified Commit 5ffe2d32 authored by Fabian Affolter's avatar Fabian Affolter Committed by Sandro Jäckel
Browse files

python3Packages.pywaze: migrate to finalAttrs

parent 66efe17c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
  respx,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "pywaze";
  version = "1.2.0";
  pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "eifinger";
    repo = "pywaze";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-yhECJORKVM8R/+CjhSTwgtCPeQ8QwIuG3EZHmtjVkX0=";
  };

@@ -38,8 +38,8 @@ buildPythonPackage rec {
  meta = {
    description = "Module for calculating WAZE routes and travel times";
    homepage = "https://github.com/eifinger/pywaze";
    changelog = "https://github.com/eifinger/pywaze/releases/tag/v${version}";
    changelog = "https://github.com/eifinger/pywaze/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})