mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 04:04:06 +01:00
python3Packages.mvg: init at 1.6.0 (#494247)
This commit is contained in:
commit
61ba195f41
3 changed files with 49 additions and 1 deletions
45
pkgs/development/python-modules/mvg/default.nix
Normal file
45
pkgs/development/python-modules/mvg/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
furl,
|
||||
hatchling,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "mvg";
|
||||
version = "1.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-jpk6DUaQYtL7OHDOznhgAp0N8qao0wQI5benfPXwhJI=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
furl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# tests require network access
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "mvg" ];
|
||||
|
||||
meta = {
|
||||
description = "An unofficial interface to timetable information of the Münchner Verkehrsgesellschaft (MVG)";
|
||||
homepage = "https://github.com/mondbaron/mvg";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
|
|
@ -4000,7 +4000,8 @@
|
|||
];
|
||||
"mvglive" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: mvg
|
||||
mvg
|
||||
];
|
||||
"my" =
|
||||
ps: with ps; [
|
||||
home-assistant-frontend
|
||||
|
|
|
|||
|
|
@ -10314,6 +10314,8 @@ self: super: with self; {
|
|||
|
||||
mutf8 = callPackage ../development/python-modules/mutf8 { };
|
||||
|
||||
mvg = callPackage ../development/python-modules/mvg { };
|
||||
|
||||
mwcli = callPackage ../development/python-modules/mwcli { };
|
||||
|
||||
mwclient = callPackage ../development/python-modules/mwclient { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue