Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7e2e6e113110
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ae50efe35319
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Nov 5, 2018

  1. Verified

    This commit was signed with the committer’s verified signature.
    AluisioASG Aluísio Augusto Silva Gonçalves
    Copy the full SHA
    dfbf621 View commit details
  2. hass: support snapcast

    peterhoeg committed Nov 5, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3f1957f View commit details

Commits on Nov 7, 2018

  1. Merge pull request #49591 from peterhoeg/p/snap

     pythonPackages.snapcast: init at 2.0.9
    dotlambda authored Nov 7, 2018
    Copy the full SHA
    ae50efe View commit details
Showing with 31 additions and 1 deletion.
  1. +28 −0 pkgs/development/python-modules/snapcast/default.nix
  2. +1 −1 pkgs/servers/home-assistant/component-packages.nix
  3. +2 −0 pkgs/top-level/python-packages.nix
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/snapcast/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pytest
, construct }:

buildPythonPackage rec {
pname = "snapcast";
version = "2.0.9";

disabled = !isPy3k;

src = fetchPypi {
inherit pname version;
sha256 = "0hlfcg0qdfavjzhxz4v2spjkj6440a1254wrncfkfkyff6rv9x3s";
};

checkInputs = [ pytest ];

propagatedBuildInputs = [ construct ];

# no checks from Pypi - https://github.com/happyleavesaoc/python-snapcast/issues/23
doCheck = false;

meta = with stdenv.lib; {
description = "Control Snapcast, a multi-room synchronous audio solution";
homepage = https://github.com/happyleavesaoc/python-snapcast/;
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
@@ -676,7 +676,7 @@
"media_player.russound_rnet" = ps: with ps; [ ];
"media_player.samsungtv" = ps: with ps; [ wakeonlan ];
"media_player.sisyphus" = ps: with ps; [ ];
"media_player.snapcast" = ps: with ps; [ ];
"media_player.snapcast" = ps: with ps; [ snapcast ];
"media_player.songpal" = ps: with ps; [ ];
"media_player.sonos" = ps: with ps; [ ];
"media_player.soundtouch" = ps: with ps; [ libsoundtouch ];
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -660,6 +660,8 @@ in {

slicerator = callPackage ../development/python-modules/slicerator { };

snapcast = callPackage ../development/python-modules/snapcast { };

spglib = callPackage ../development/python-modules/spglib { };

sslib = callPackage ../development/python-modules/sslib { };