Skip to content

Commit

Permalink
python312Packages.cattrs: cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Dec 2, 2024
1 parent 6f40e94 commit c1cb5ed
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pkgs/development/python-modules/cattrs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@
buildPythonPackage rec {
pname = "cattrs";
version = "24.1.2";
format = "pyproject";

disabled = pythonOlder "3.7";
pyproject = true;

src = fetchFromGitHub {
owner = "python-attrs";
repo = pname;
repo = "cattrs";
rev = "refs/tags/v${version}";
hash = "sha256-LSP8a/JduK0h9GytfbN7/CjFlnGGChaa3VbbCHQ3AFE=";
};
Expand Down Expand Up @@ -116,11 +114,11 @@ buildPythonPackage rec {

pythonImportsCheck = [ "cattr" ];

meta = with lib; {
meta = {
description = "Python custom class converters for attrs";
homepage = "https://github.com/python-attrs/cattrs";
changelog = "https://github.com/python-attrs/cattrs/blob/${src.rev}/HISTORY.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}

0 comments on commit c1cb5ed

Please sign in to comment.