Merge pull request #127250 from dotlambda/pdunehd-init

This commit is contained in:
Martin Weinelt 2021-06-18 01:35:23 +02:00 committed by GitHub
commit 6de87929ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 1 deletions

View file

@ -0,0 +1,36 @@
{ 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 ];
};
}

View file

@ -194,7 +194,7 @@
"dte_energy_bridge" = ps: with ps; [ ];
"dublin_bus_transport" = ps: with ps; [ ];
"duckdns" = ps: with ps; [ ];
"dunehd" = ps: with ps; [ ]; # missing inputs: pdunehd
"dunehd" = ps: with ps; [ pdunehd ];
"dwd_weather_warnings" = ps: with ps; [ dwdwfsapi ];
"dweet" = ps: with ps; [ ]; # missing inputs: dweepy
"dynalite" = ps: with ps; [ ]; # missing inputs: dynalite_devices

View file

@ -347,6 +347,7 @@ in with py.pkgs; buildPythonApplication rec {
"dsmr"
"dte_energy_bridge"
"duckdns"
"dunehd"
"dyson"
"eafm"
"econet"

View file

@ -5162,6 +5162,8 @@ in {
phonenumbers = callPackage ../development/python-modules/phonenumbers { };
pdunehd = callPackage ../development/python-modules/pdunehd { };
phonopy = callPackage ../development/python-modules/phonopy { };
phpserialize = callPackage ../development/python-modules/phpserialize { };