mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 06:55:10 +00:00
02dab4ab5c
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
34 lines
675 B
Nix
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 ];
|
|
};
|
|
}
|