mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
Merge pull request #108241 from fabaff/schiene
python3Packages.schiene: init at 0.23
This commit is contained in:
33
pkgs/development/python-modules/schiene/default.nix
Normal file
33
pkgs/development/python-modules/schiene/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, beautifulsoup4
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "schiene";
|
||||
version = "0.23";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "014aaxmk7yxyml1xgfk3zqallyb5zi04m0v7jgqjkbjqq4n4j3ck";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
beautifulsoup4
|
||||
];
|
||||
|
||||
# tests are not present
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "schiene" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for interacting with Bahn.de";
|
||||
homepage = "https://github.com/kennell/schiene";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user