perlPackages.NetAsyncWebSocket: 0.13 -> 0.14 (#352432)
[NixPkgs.git] / pkgs / development / python-modules / pdunehd / default.nix
blob009c811601cb5c2035aebd7aaf388aec98ca299a
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   requests,
7 }:
9 buildPythonPackage rec {
10   pname = "pdunehd";
11   version = "1.3.3";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "valentinalexeev";
18     repo = "pdunehd";
19     rev = "refs/tags/${version}";
20     sha256 = "sha256-8CL7ZQ+tV0CKdqWWiPDbo6Q5d1iIj/vNbYshdjUpYSw=";
21   };
23   propagatedBuildInputs = [ requests ];
25   # no tests implemented
26   doCheck = false;
28   pythonImportsCheck = [ "pdunehd" ];
30   meta = with lib; {
31     description = "Python wrapper for Dune HD media player API";
32     homepage = "https://github.com/valentinalexeev/pdunehd";
33     changelog = "https://github.com/valentinalexeev/pdunehd/releases/tag/${version}";
34     license = licenses.asl20;
35     maintainers = with maintainers; [ dotlambda ];
36   };