1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/development/python-modules/snapcast/default.nix

29 lines
725 B
Nix
Raw Normal View History

2018-10-19 08:46:04 +01:00
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pytest
, construct }:
buildPythonPackage rec {
pname = "snapcast";
version = "2.1.0";
2018-10-19 08:46:04 +01:00
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1z3c9p22pm3823jzh917c3rryv02mhigrjkjf9wlhzmjwx5vmjqf";
2018-10-19 08:46:04 +01:00
};
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/";
2018-10-19 08:46:04 +01:00
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}