fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
840 B
Nix
37 lines
840 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchFromGitHub,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pdunehd";
|
|
version = "1.3.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "valentinalexeev";
|
|
repo = "pdunehd";
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "sha256-8CL7ZQ+tV0CKdqWWiPDbo6Q5d1iIj/vNbYshdjUpYSw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
# no tests implemented
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pdunehd" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python wrapper for Dune HD media player API";
|
|
homepage = "https://github.com/valentinalexeev/pdunehd";
|
|
changelog = "https://github.com/valentinalexeev/pdunehd/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|