nixpkgs/pkgs/development/python-modules/aiovlc/default.nix

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

46 lines
796 B
Nix
Raw Normal View History

2021-11-20 20:36:52 +00:00
{ lib
, buildPythonPackage
, click
, fetchFromGitHub
, pytest-asyncio
, pytest-timeout
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiovlc";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "MartinHjelmare";
repo = pname;
rev = "v${version}";
sha256 = "jB2V/Wpxmp92wba41mWZAeO63wy3NrkupllGxJMNkFM=";
};
propagatedBuildInputs = [
click
];
checkInputs = [
pytest-asyncio
pytest-timeout
pytestCheckHook
];
pythonImportsCheck = [
"aiovlc"
];
meta = with lib; {
description = "Python module to control VLC";
homepage = "https://github.com/MartinHjelmare/aiovlc";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}