2020-06-18 07:06:33 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "playsound";
|
2021-08-25 08:27:29 +00:00
|
|
|
version = "1.3.0";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TaylorSMarks";
|
|
|
|
repo = "playsound";
|
2021-08-25 08:27:29 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0jbq641lmb0apq4fy6r2zyag8rdqgrz8c4wvydzrzmxrp6yx6wyd";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "playsound" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/TaylorSMarks/playsound";
|
|
|
|
description = "Pure Python, cross platform, single function module with no dependencies for playing sounds";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ luc65r ];
|
|
|
|
};
|
|
|
|
}
|