Unverified Commit d9551f99 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.packvers: migrate to finalAttrs

parent dd7dd530
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
  setuptools,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "packvers";
  version = "21.5";
  pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "aboutcode-org";
    repo = "packvers";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-nCSYL0g7mXi9pGFt24pOXbmmYsaRuB+rRZrygf8DTLE=";
  };

@@ -39,11 +39,11 @@ buildPythonPackage rec {
  meta = {
    description = "Module for version handling of modules";
    homepage = "https://github.com/aboutcode-org/packvers";
    changelog = "https://github.com/aboutcode-org/packvers/blob/${src.tag}/CHANGELOG.rst";
    changelog = "https://github.com/aboutcode-org/packvers/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
    license = with lib.licenses; [
      asl20 # and
      bsd2
    ];
    maintainers = with lib.maintainers; [ fab ];
  };
}
})