git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #133335 from fabaff/bump-clize

python3Packages.clize: 4.1.1 -> 4.2.0

commite7e3971b747a156bc43f23d12d98bcac25e2e5ef authorSandro <sandro.jaeckel@gmail.com> dateTue 10 Aug 2021, 15:25 (5 years ago) parent7626302b91e708
2 files changed+10−7
pkgs/applications/networking/zerobin/default.nix+7 pkgs/development/python-modules/clize/default.nix+3−7
pkgs/applications/networking/zerobin/default.nix+7
@@ -7,6 +7,7 @@
77python3Packages.buildPythonApplication rec {
88 pname = "zerobin";
99 version = "1.0.5";
10+
1011 src = fetchFromGitHub {
1112 owner = "Tygs";
1213 repo = "0bin";
@@ -21,6 +22,7 @@ python3Packages.buildPythonApplication rec {
2122 python3Packages.pyscss
2223 nodePackages.uglify-js
2324 ];
25+
2426 propagatedBuildInputs = with python3Packages; [
2527 appdirs
2628 beaker
@@ -30,16 +32,19 @@ python3Packages.buildPythonApplication rec {
3032 lockfile
3133 paste
3234 ];
35+
3336 prePatch = ''
3437 # replace /bin/bash in compress.sh
3538 patchShebangs .
3639
3740 # relax version constraints of some dependencies
3841 substituteInPlace setup.cfg \
42+ --replace "clize==4.1.1" "clize" \
3943 --replace "bleach==3.1.5" "bleach>=3.1.5,<4" \
4044 --replace "bottle==0.12.18" "bottle>=0.12.18,<1" \
4145 --replace "Paste==3.4.3" "Paste>=3.4.3,<4"
4246 '';
47+
4348 buildPhase = ''
4449 runHook preBuild
4550 doit build
@@ -51,6 +56,8 @@ python3Packages.buildPythonApplication rec {
5156 # See https://github.com/NixOS/nixpkgs/pull/98734#discussion_r495823510
5257 doCheck = false;
5358
59+ pythonImportsCheck = [ "zerobin" ];
60+
5461 meta = with lib; {
5562 description = "A client side encrypted pastebin";
5663 homepage = "https://0bin.net/";
pkgs/development/python-modules/clize/default.nix+3−7
@@ -15,18 +15,13 @@
1515
1616buildPythonPackage rec {
1717 pname = "clize";
18− version = "4.1.1";
18+ version = "4.2.0";
1919
2020 src = fetchPypi {
2121 inherit pname version;
22− sha256 = "f54dedcf6fea90a3e75c30cb65e0ab1e832760121f393b8d68edd711dbaf7187";
22+ sha256 = "06p47i6hri006v7xbx7myj02as1a6f34rv88wfa9rb067p13nmyz";
2323 };
2424
25− # Remove overly restrictive version constraints
26− postPatch = ''
27− substituteInPlace setup.py --replace "attrs>=19.1.0,<20" "attrs"
28− '';
29−
3025 checkInputs = [
3126 pytestCheckHook
3227 python-dateutil
@@ -49,5 +44,6 @@ buildPythonPackage rec {
4944 description = "Command-line argument parsing for Python";
5045 homepage = "https://github.com/epsy/clize";
5146 license = licenses.mit;
47+ maintainers = with maintainers; [ ];
5248 };
5349}