Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33204 from NixOS/python-unstable
Python: upgrade package set
- Loading branch information
Showing
164 changed files
with
1,240 additions
and
879 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,36 @@ | ||
{ stdenv, pythonPackages }: | ||
{ stdenv, pythonPackages, fetchpatch }: | ||
|
||
pythonPackages.buildPythonApplication rec { | ||
with pythonPackages; | ||
|
||
buildPythonApplication rec { | ||
pname = "td-watson"; | ||
name = "${pname}-${version}"; | ||
version = "1.4.0"; | ||
version = "1.5.2"; | ||
|
||
src = pythonPackages.fetchPypi { | ||
src = fetchPypi { | ||
inherit version pname; | ||
sha256 = "1py0g4990jmvq0dn7jasda7f10kzr41bix46hnbyc1rshjzc17hq"; | ||
sha256 = "6e03d44a9278807fe5245e9ed0943f13ffb88e11249a02655c84cb86260b27c8"; | ||
}; | ||
|
||
# uses tox, test invocation fails | ||
doCheck = true; | ||
checkPhase = '' | ||
py.test -vs tests | ||
''; | ||
checkInputs = with pythonPackages; [ py pytest pytest-datafiles mock pytest-mock pytestrunner ]; | ||
propagatedBuildInputs = with pythonPackages; [ requests click arrow ]; | ||
|
||
patches = [ | ||
(fetchpatch { | ||
url = https://github.com/TailorDev/Watson/commit/f5760c71cbc22de4e12ede8f6f7257515a9064d3.patch; | ||
sha256 = "0s9h26915ilpbd0qhmvk77r3gmrsdrl5l7dqxj0l5q66fp0z6b0g"; | ||
}) | ||
]; | ||
|
||
checkInputs = [ py pytest pytest-datafiles mock pytest-mock pytestrunner ]; | ||
propagatedBuildInputs = [ requests click arrow ]; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://tailordev.github.io/Watson/; | ||
description = "A wonderful CLI to track your time!"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ mguentner ] ; | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, markupsafe | ||
, nose | ||
, mock | ||
, pytest | ||
, isPyPy | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "Mako"; | ||
version = "1.0.7"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae"; | ||
}; | ||
|
||
checkInputs = [ markupsafe nose mock pytest ]; | ||
propagatedBuildInputs = [ markupsafe ]; | ||
|
||
doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25 | ||
|
||
meta = { | ||
description = "Super-fast templating language"; | ||
homepage = http://www.makotemplates.org; | ||
license = lib.licenses.mit; | ||
platforms = lib.platforms.unix; | ||
maintainers = with lib.maintainers; [ domenkozar ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.