16 buildPythonPackage rec {
17 pname = "seventeentrack";
18 version = "2022.04.6";
21 disabled = pythonOlder "3.8";
23 src = fetchFromGitHub {
27 hash = "sha256-vMdRXcd0es/LjgsVyWItSLFzlSTEa3oaA6lr/NL4i8U=";
31 # This patch removes references to setuptools and wheel that are no longer
32 # necessary and changes poetry to poetry-core, so that we don't need to add
33 # unnecessary nativeBuildInputs.
35 # https://github.com/McSwindler/seventeentrack/pull/4
38 name = "clean-up-build-dependencies.patch";
39 url = "https://github.com/McSwindler/seventeentrack/commit/9a21e22f796a17628a9628f54e19d19d002b4d0a.patch";
40 hash = "sha256-UvxUpiSkDbP8Jum5XbrWHBnH1HLBYEKUKw6GTV+Kvys=";
44 nativeBuildInputs = [ poetry-core ];
46 propagatedBuildInputs = [
52 __darwinAllowLocalNetworking = true;
61 # Ignore the examples directory as the files are prefixed with test_
65 pythonImportsCheck = [ "seventeentrack" ];
68 description = "Python library to track package info from 17track.com";
69 homepage = "https://github.com/McSwindler/seventeentrack";
70 license = with licenses; [ mit ];
71 maintainers = with maintainers; [ fab ];