about summary refs log tree commit diff
path: root/pkgs/development/python-modules/playsound/default.nix
blob: 799bf70457bf9b8d127dfc8b7bbefc734958dfd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, buildPythonPackage
, fetchFromGitHub
}:

buildPythonPackage rec {
  pname = "playsound";
  version = "1.3.0";

  src = fetchFromGitHub {
    owner = "TaylorSMarks";
    repo = "playsound";
    rev = "v${version}";
    sha256 = "0jbq641lmb0apq4fy6r2zyag8rdqgrz8c4wvydzrzmxrp6yx6wyd";
  };

  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 ];
  };
}