mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-17 22:28:55 +00:00
Merge staging-next into staging
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aenum";
|
||||
version = "2.2.3";
|
||||
version = "2.2.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a4334cabf47c167d44ab5a6198837b80deec5d5bad1b5cf70c966c3a330260e8";
|
||||
sha256 = "0r1812bjm72x73pl7y4yhffr4zbdjgxa08avsy4b3di0pqgqv0l1";
|
||||
};
|
||||
|
||||
# For Python 3, locale has to be set to en_US.UTF-8 for
|
||||
|
||||
@@ -38,6 +38,13 @@ buildPythonPackage rec {
|
||||
msrestazure
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace msal-extensions~=0.1.3 msal-extensions
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "azure.identity" ];
|
||||
|
||||
# Requires checkout from mono-repo and a mock account:
|
||||
# https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/tests.yml
|
||||
doCheck = false;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage, pythonOlder
|
||||
, flask, blinker, twill }:
|
||||
|
||||
with stdenv.lib;
|
||||
{ stdenv, fetchPypi, buildPythonPackage, isPy3k, flask, blinker, twill }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Testing";
|
||||
@@ -13,13 +10,20 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's/twill==0.9.1/twill/' setup.py
|
||||
substituteInPlace setup.py --replace "twill==0.9.1" "twill"
|
||||
'';
|
||||
|
||||
buildInputs = optionals (pythonOlder "3.0") [ twill ];
|
||||
propagatedBuildInputs = [ flask blinker ];
|
||||
propagatedBuildInputs = [ flask ];
|
||||
|
||||
meta = {
|
||||
checkInputs = [ blinker ] ++ stdenv.lib.optionals (!isPy3k) [ twill ];
|
||||
|
||||
# twill integration is outdated in Python 2, hence it the tests fails.
|
||||
# Some of the tests use localhost networking on darwin.
|
||||
doCheck = isPy3k && !stdenv.isDarwin;
|
||||
|
||||
pythonImportsCheck = [ "flask_testing" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Flask unittest integration.";
|
||||
homepage = "https://pythonhosted.org/Flask-Testing/";
|
||||
license = licenses.bsd3;
|
||||
|
||||
@@ -122,7 +122,6 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://ihatemoney.org";
|
||||
description = "A simple shared budget manager web application";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.beerware;
|
||||
maintainers = [ maintainers.symphorien ];
|
||||
};
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "process-tests";
|
||||
version = "2.0.2";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7ae24a680cc7c44e7687e3723e6e64597a28223ad664989999efe10dd38c2431";
|
||||
sha256 = "15yrgr1hb7i0fq31dh6k8hmc3jnk6yn5nh4xh3gmszk9vag5zrqk";
|
||||
};
|
||||
|
||||
# No tests
|
||||
|
||||
@@ -1,19 +1,60 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
, Mako, packaging, pysocks, pygments, ROPGadget
|
||||
, capstone, paramiko, pip, psutil
|
||||
, pyelftools, pyserial, dateutil
|
||||
, requests, tox, unicorn, intervaltree, fetchpatch }:
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, Mako
|
||||
, packaging
|
||||
, pysocks
|
||||
, pygments
|
||||
, ROPGadget
|
||||
, capstone
|
||||
, paramiko
|
||||
, pip
|
||||
, psutil
|
||||
, pyelftools
|
||||
, pyserial
|
||||
, dateutil
|
||||
, requests
|
||||
, tox
|
||||
, unicorn
|
||||
, intervaltree
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "4.1.1";
|
||||
version = "4.2.1";
|
||||
pname = "pwntools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "694ce7a6cfca0ad40eae36c1d2663c44eb953f84785c63daa9752b4dfa7f39d8";
|
||||
sha256 = "1fh7sq9wrcfvn44qryln9cyg99pilvyq9bp80758lgdd6ss6hdqd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pyserial dateutil requests tox unicorn intervaltree ];
|
||||
# Upstream has set an upper bound on unicorn because of https://github.com/Gallopsled/pwntools/issues/1538,
|
||||
# but since that is a niche use case and it requires extra work to get unicorn 1.0.2rc3 to work we relax
|
||||
# the bound here. Check if this is still necessary when updating!
|
||||
postPatch = ''
|
||||
sed -i 's/unicorn>=1.0.2rc1,<1.0.2rc4/unicorn>=1.0.2rc1/' setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
Mako
|
||||
packaging
|
||||
pysocks
|
||||
pygments
|
||||
ROPGadget
|
||||
capstone
|
||||
paramiko
|
||||
pip
|
||||
psutil
|
||||
pyelftools
|
||||
pyserial
|
||||
dateutil
|
||||
requests
|
||||
tox
|
||||
unicorn
|
||||
intervaltree
|
||||
];
|
||||
|
||||
doCheck = false; # no setuptools tests for the package
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
doCheck = false; # pypi package comes without tests, other homepage does not provide all verisons
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://twill.idyll.org/";
|
||||
homepage = "https://twill-tools.github.io/twill/";
|
||||
description = "A simple scripting language for Web browsing";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
|
||||
Reference in New Issue
Block a user