python311Packages.stups-tokens: migrate to pyproject

This commit is contained in:
Peder Bergebakken Sundt 2024-08-06 23:58:16 +02:00
parent d53c1f1a49
commit c4a1d3d834

View File

@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
requests,
mock,
pytestCheckHook,
@ -11,7 +12,7 @@
buildPythonPackage rec {
pname = "stups-tokens";
version = "1.1.19";
format = "setuptools";
pyproject = true;
disabled = !isPy3k;
src = fetchFromGitHub {
@ -21,7 +22,9 @@ buildPythonPackage rec {
sha256 = "09z3l3xzdlwpivbi141gk1k0zd9m75mjwbdy81zc386rr9k8s0im";
};
propagatedBuildInputs = [ requests ];
build-system = [ setuptools ];
dependencies = [ requests ];
nativeCheckInputs = [
mock