depot/third_party/nixpkgs/pkgs/development/python-modules/soundcloud-v2/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

36 lines
705 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, dacite
, python-dateutil
, requests
}:
buildPythonPackage rec {
pname = "soundcloud-v2";
version = "1.3.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "9a9c12aa22e71566e2ca6015267cabc1856afd79fa458f0fc43c44872c184741";
};
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 = with maintainers; [ marsam ];
};
}