nixpkgs/pkgs/development/python-modules/csrmesh/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

34 lines
675 B
Nix

{ lib
, bluepy
, buildPythonPackage
, fetchPypi
, pycryptodomex
}:
buildPythonPackage rec {
pname = "csrmesh";
version = "0.10.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "03lzam54ypcfvqvikh3gsrivvlidmz1ifdq15xv8c5i3n5b178ag";
};
propagatedBuildInputs = [
bluepy
pycryptodomex
];
# Project has no test
doCheck = false;
pythonImportsCheck = [ "csrmesh" ];
meta = with lib; {
description = "Python implementation of the CSRMesh bridge protocol";
homepage = "https://github.com/nkaminski/csrmesh";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fab ];
};
}