Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
447 B · 23 lines
Nix
123456789101112131415161718192021222324{ 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 ]; };}