Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
912 B
Nix
Raw Permalink Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
pbr,
setuptools,
six,
pytestCheckHook,
mock,
fixtures,
testtools,
}:
buildPythonPackage rec {
pname = "pymochad";
version = "0.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mtreinish";
repo = "pymochad";
tag = version;
hash = "sha256-nwh97sbYkt4F/u02zTDemWEztSco27oJCemd6kTnCMk=";
};
env.PBR_VERSION = version;
build-system = [
pbr
setuptools
];
dependencies = [
six
];
nativeCheckInputs = [
pytestCheckHook
mock
fixtures
testtools
];
pythonImportsCheck = [
"pymochad"
];
meta = {
description = "Python library for sending commands to the mochad TCP gateway daemon for the X10 CMA15A controller";
homepage = "https://github.com/mtreinish/pymochad";
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.jamiemagee ];
};
}