nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 python-magic,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "pycketcasts";
11 version = "1.0.1";
12 format = "setuptools";
13
14 src = fetchFromGitHub {
15 owner = "nwithan8";
16 repo = "pycketcasts";
17 rev = version;
18 hash = "sha256-O4j89fE7fYPthhCH8b2gGskkelEA4mU6GvSbKIl+4Mk=";
19 };
20
21 propagatedBuildInputs = [
22 python-magic
23 requests
24 ];
25
26 # Module has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [ "pycketcasts" ];
30
31 meta = {
32 description = "Module to interact with PocketCast's unofficial API";
33 homepage = "https://github.com/nwithan8/pycketcasts";
34 license = lib.licenses.gpl3Only;
35 maintainers = with lib.maintainers; [ fab ];
36 };
37}