Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
895 B · 50 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchFromGitHub, future, mock, nose, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "python-ipmi"; version = "0.5.4"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "kontron"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-IXEq3d1nXGEndciQw2MJ1Abc0vmEYez+k6aWGSWEzWA="; };
postPatch = '' substituteInPlace setup.py \ --replace "version=version," "version='${version}'," '';
propagatedBuildInputs = [ future ];
nativeCheckInputs = [ mock nose pytestCheckHook ];
pythonImportsCheck = [ "pyipmi" ];
meta = with lib; { description = "Python IPMI Library"; homepage = "https://github.com/kontron/python-ipmi"; license = with licenses; [ lgpl2Plus ]; maintainers = with maintainers; [ fab ]; };}