Commit 03b38335 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python3Packages.environs: migrate to finalAttrs

parent 38aff97d
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
  python-dotenv,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "environs";
  version = "14.6.0";
  pyproject = true;
@@ -19,13 +19,13 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "sloria";
    repo = "environs";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-TX8C3KIuvAkC+ArGFz9FXyqxd9pfTgmMqnLuYNIlA4o=";
  };

  nativeBuildInputs = [ flit-core ];
  build-system = [ flit-core ];

  propagatedBuildInputs = [
  dependencies = [
    marshmallow
    python-dotenv
  ];
@@ -40,10 +40,10 @@ buildPythonPackage rec {
  pythonImportsCheck = [ "environs" ];

  meta = {
    description = "Python modle for environment variable parsing";
    description = "Python module for environment variable parsing";
    homepage = "https://github.com/sloria/environs";
    changelog = "https://github.com/sloria/environs/blob/${version}/CHANGELOG.md";
    changelog = "https://github.com/sloria/environs/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})