nixpkgs/pkgs/development/python-modules/playsound/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

30 lines
691 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "playsound";
version = "1.3.0";
format = "setuptools";
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 ];
};
}