mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-26 07:50:31 +00:00
Merge staging-next into staging
This commit is contained in:
44
pkgs/development/python-modules/pygtfs/default.nix
Normal file
44
pkgs/development/python-modules/pygtfs/default.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, docopt
|
||||
, fetchPypi
|
||||
, nose
|
||||
, pytz
|
||||
, setuptools-scm
|
||||
, six
|
||||
, sqlalchemy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygtfs";
|
||||
version = "0.1.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0nx2idgza07kmvj7pcgpj3pqhw53v5rq63paw2ly51cjas2fv5pr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docopt
|
||||
pytz
|
||||
six
|
||||
sqlalchemy
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pygtfs" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for GTFS";
|
||||
homepage = "https://github.com/jarondl/pygtfs";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytube";
|
||||
version = "10.8.2";
|
||||
version = "10.8.3";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
owner = "pytube";
|
||||
repo = "pytube";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-LY1aDFzF0vHwEa3pfAoxZ3KM1l39PDo6S6F3xtqqspU=";
|
||||
sha256 = "sha256-U/TXA/0y5tsuj0q3kxacHk76wjYG6k8mPX5F3MpADmk=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
Reference in New Issue
Block a user