Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pdunehd / default.nix
blob63eca0dab8253dca0518e65b795f08c7dfdc91a9
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , requests
6 }:
8 buildPythonPackage rec {
9   pname = "pdunehd";
10   version = "1.3.2";
12   disabled = pythonOlder "3.6";
14   src = fetchFromGitHub {
15     owner = "valentinalexeev";
16     repo = "pdunehd";
17     rev = version;
18     sha256 = "06p0k82nf89rsakr8d2hdb19dp1wqp9bsf54lwb0qma47iakljjh";
19   };
21   propagatedBuildInputs = [
22     requests
23   ];
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     license = licenses.asl20;
34     maintainers = with maintainers; [ dotlambda ];
35   };