depot/third_party/nixpkgs/pkgs/development/python-modules/pdunehd/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

36 lines
714 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "pdunehd";
version = "1.3.2";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "valentinalexeev";
repo = "pdunehd";
rev = version;
sha256 = "06p0k82nf89rsakr8d2hdb19dp1wqp9bsf54lwb0qma47iakljjh";
};
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";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}