nixpkgs/pkgs/development/python-modules/python-wink/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

30 lines
628 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "python-wink";
version = "1.10.5";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1r6qabnqxyy3llnj10z60d4w9pg2zabysl3l7znpy1adss4ywxl0";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pywink" ];
meta = with lib; {
description = "Python implementation of the Wink API";
homepage = "https://github.com/python-wink/python-wink";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}