nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 864 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6 oauthlib, 7 python-dateutil, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "discogs-client"; 13 version = "2.8"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "joalla"; 18 repo = "discogs_client"; 19 tag = "v${version}"; 20 hash = "sha256-2mMBfOM5sOJsuoxrT3Ku99zDQ8wDw12zRloRLHRDRL0="; 21 }; 22 23 propagatedBuildInputs = [ 24 requests 25 oauthlib 26 python-dateutil 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "discogs_client" ]; 32 33 meta = { 34 description = "Unofficial Python API client for Discogs"; 35 homepage = "https://github.com/joalla/discogs_client"; 36 changelog = "https://github.com/joalla/discogs_client/releases/tag/v${version}"; 37 license = lib.licenses.bsd2; 38 maintainers = with lib.maintainers; [ fab ]; 39 }; 40}