nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

python38Packages.zetup: fix build

Currently fails to build on python 3.8 due to an overly restrictive version bound.

ZHF: #80379

CC @NixOS/nixos-release-managers

+6 -9
+6 -9
pkgs/development/python-modules/zetup/default.nix
··· 1 - { stdenv, buildPythonPackage, fetchPypi 1 + { lib, buildPythonPackage, fetchPypi 2 2 , setuptools_scm, pathpy, nbconvert 3 3 , pytest }: 4 4 ··· 11 11 sha256 = "b8a9bdcfa4b705d72b55b218658bc9403c157db7b57a14158253c98d03ab713d"; 12 12 }; 13 13 14 - # Python 3.7 compatibility 15 - # See https://github.com/zimmermanncode/zetup/pull/1 14 + # Python 3.8 compatibility 16 15 postPatch = '' 17 16 substituteInPlace zetup/zetup_config.py \ 18 - --replace "'3.6']" "'3.6', '3.7']" 17 + --replace "'3.7']" "'3.7', '3.8']" 19 18 ''; 20 19 21 20 checkPhase = '' ··· 24 25 checkInputs = [ pytest pathpy nbconvert ]; 25 26 propagatedBuildInputs = [ setuptools_scm ]; 26 27 27 - meta = with stdenv.lib; { 28 - description = '' 29 - Zimmermann's Extensible Tools for Unified Project setups 30 - ''; 31 - homepage = https://github.com/zimmermanncode/zetup; 28 + meta = with lib; { 29 + description = "Zimmermann's Extensible Tools for Unified Project setups"; 30 + homepage = "https://github.com/zimmermanncode/zetup"; 32 31 license = licenses.gpl3Plus; 33 32 platforms = platforms.unix; 34 33 };