mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +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
24 lines
447 B
Nix
24 lines
447 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, i2c-tools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
inherit (i2c-tools) pname version src;
|
|
|
|
format = "setuptools";
|
|
|
|
buildInputs = [ i2c-tools ];
|
|
|
|
preConfigure = "cd py-smbus";
|
|
|
|
meta = with lib; {
|
|
inherit (i2c-tools.meta) homepage platforms;
|
|
|
|
description = "wrapper for i2c-tools' smbus stuff";
|
|
# from py-smbus/smbusmodule.c
|
|
license = [ licenses.gpl2Only ];
|
|
maintainers = [ maintainers.evils ];
|
|
};
|
|
}
|