mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
36 lines
702 B
Nix
36 lines
702 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "deezer-py";
|
|
version = "1.3.7";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-saMy+IeAy6H9SgS8XHnZ9klFerGyr+vQqhuCtimgbEo=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ requests ];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "requests" ];
|
|
|
|
meta = {
|
|
homepage = "https://gitlab.com/RemixDev/deezer-py";
|
|
description = "Wrapper for all Deezer's APIs";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ natto1784 ];
|
|
};
|
|
})
|