Merge pull request #177483 from fabaff/pycketcasts
python310Packages.pycketcasts: init at 1.0.1
This commit is contained in:
commit
b3adce1542
41
pkgs/development/python-modules/pycketcasts/default.nix
Normal file
41
pkgs/development/python-modules/pycketcasts/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python-magic
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycketcasts";
|
||||
version = "1.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nwithan8";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-O4j89fE7fYPthhCH8b2gGskkelEA4mU6GvSbKIl+4Mk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-magic
|
||||
requests
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pycketcasts"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to interact with PocketCast's unofficial API";
|
||||
homepage = "https://github.com/nwithan8/pycketcasts";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -2053,7 +2053,8 @@
|
||||
"plum_lightpad" = ps: with ps; [
|
||||
]; # missing inputs: plumlightpad
|
||||
"pocketcasts" = ps: with ps; [
|
||||
]; # missing inputs: pycketcasts
|
||||
pycketcasts
|
||||
];
|
||||
"point" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
pypoint
|
||||
|
@ -6560,6 +6560,8 @@ in {
|
||||
|
||||
pyatome = callPackage ../development/python-modules/pyatome { };
|
||||
|
||||
pycketcasts = callPackage ../development/python-modules/pycketcasts { };
|
||||
|
||||
pycontrol4 = callPackage ../development/python-modules/pycontrol4 { };
|
||||
|
||||
pycoolmasternet-async = callPackage ../development/python-modules/pycoolmasternet-async { };
|
||||
|
Loading…
Reference in New Issue
Block a user