mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
Merge pull request #127250 from dotlambda/pdunehd-init
This commit is contained in:
commit
6de87929ca
4 changed files with 40 additions and 1 deletions
36
pkgs/development/python-modules/pdunehd/default.nix
Normal file
36
pkgs/development/python-modules/pdunehd/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -347,6 +347,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"dsmr"
|
||||
"dte_energy_bridge"
|
||||
"duckdns"
|
||||
"dunehd"
|
||||
"dyson"
|
||||
"eafm"
|
||||
"econet"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue