nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 beautifulsoup4,
4 buildPythonPackage,
5 fetchPypi,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "schiene";
11 version = "0.26";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-sCaVrHqQZwAZDXIjh4Rg9ZT/EQSbrOPdSyT8oofCsmA=";
17 };
18
19 propagatedBuildInputs = [
20 requests
21 beautifulsoup4
22 ];
23
24 # Module has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "schiene" ];
28
29 meta = {
30 description = "Python library for interacting with Bahn.de";
31 homepage = "https://github.com/kennell/schiene";
32 license = with lib.licenses; [ mit ];
33 maintainers = with lib.maintainers; [ fab ];
34 };
35}