diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/autocommand/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/autocommand/default.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/autocommand/default.nix b/nixpkgs/pkgs/development/python-modules/autocommand/default.nix index eeee08ec4927..11ee55d6417d 100644 --- a/nixpkgs/pkgs/development/python-modules/autocommand/default.nix +++ b/nixpkgs/pkgs/development/python-modules/autocommand/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, setuptools , pytestCheckHook , pythonOlder }: @@ -8,7 +9,7 @@ buildPythonPackage rec { pname = "autocommand"; version = "2.2.2"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -19,6 +20,15 @@ buildPythonPackage rec { hash = "sha256-9bv9Agj4RpeyNJvTLUaMwygQld2iZZkoLb81rkXOd3E="; }; + postPatch = '' + # _MissingDynamic: `license` defined outside of `pyproject.toml` is ignored. + rm setup.py + ''; + + nativeBuildInputs = [ + setuptools + ]; + # fails with: SyntaxError: invalid syntax doCheck = false; |