nixpkgs/pkgs/development/python-modules/soundcloud-v2/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

44 lines
769 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
dacite,
python-dateutil,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "soundcloud-v2";
version = "1.5.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-cnM70Yz9xw3TPqGk8VYAag6u1nLjQS2kS7xRBJtFodU=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
dacite
python-dateutil
requests
];
# tests require network
doCheck = false;
pythonImportsCheck = [ "soundcloud" ];
meta = with lib; {
description = "Python wrapper for the v2 SoundCloud API";
homepage = "https://github.com/7x11x13/soundcloud.py";
license = licenses.mit;
maintainers = [ ];
};
}