Merge pull request #139343 from fabaff/bump-voluptuous
python3Packages.voluptuous: 0.12.1 -> 0.12.2
This commit is contained in:
commit
332ad080ea
2 changed files with 17 additions and 6 deletions
|
@ -1,22 +1,32 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, nose }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "voluptuous";
|
pname = "voluptuous";
|
||||||
version = "0.12.1";
|
version = "0.12.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0js4avmhmmys78z376xk1w9305hq5nad8zqrnksgmpc1j90p4db6";
|
sha256 = "sha256-TbGsUHnbkkmCDUnIkctGYKb4yuNQSRIQq850H6v1ZRM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ nose ];
|
checkInputs = [
|
||||||
|
nose
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
nosetests
|
nosetests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "voluptuous" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Voluptuous is a Python data validation library";
|
description = "Python data validation library";
|
||||||
homepage = "http://alecthomas.github.io/voluptuous/";
|
homepage = "http://alecthomas.github.io/voluptuous/";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -177,7 +177,8 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
--replace "cryptography==3.3.2" "cryptography" \
|
--replace "cryptography==3.3.2" "cryptography" \
|
||||||
--replace "pip>=8.0.3,<20.3" "pip" \
|
--replace "pip>=8.0.3,<20.3" "pip" \
|
||||||
--replace "requests==2.25.1" "requests>=2.25.1" \
|
--replace "requests==2.25.1" "requests>=2.25.1" \
|
||||||
--replace "ruamel.yaml==0.15.100" "ruamel.yaml"
|
--replace "ruamel.yaml==0.15.100" "ruamel.yaml" \
|
||||||
|
--replace "voluptuous==0.12.1" "voluptuous==0.12.2"
|
||||||
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
|
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue