depot/third_party/nixpkgs/pkgs/development/python-modules/schiene/default.nix
Default email ffc78d3539 Project import generated by Copybara.
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
2021-01-05 19:05:55 +02:00

33 lines
640 B
Nix

{ 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 ];
};
}