nixpkgs/pkgs/development/python-modules/deezer-py/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

31 lines
635 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, pythonOlder
}:
buildPythonPackage rec {
pname = "deezer-py";
version = "1.3.7";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-saMy+IeAy6H9SgS8XHnZ9klFerGyr+vQqhuCtimgbEo=";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "requests" ];
meta = with lib; {
homepage = "https://gitlab.com/RemixDev/deezer-py";
description = "A wrapper for all Deezer's APIs";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ natto1784 ];
};
}