diff --git a/pkgs/tools/misc/bepasty/default.nix b/pkgs/tools/misc/bepasty/default.nix index 532d1155fbe0..cc63dab9645a 100644 --- a/pkgs/tools/misc/bepasty/default.nix +++ b/pkgs/tools/misc/bepasty/default.nix @@ -1,13 +1,25 @@ -{ python3Packages +{ python3 , lib }: -with python3Packages; +let + python = python3.override { + self = python; + packageOverrides = self: super : { + xstatic-bootstrap = super.xstatic-bootstrap.overridePythonAttrs(oldAttrs: rec { + version = "3.3.7.1"; + src = oldAttrs.src.override { + inherit version; + sha256 = "0cgihyjb9rg6r2ddpzbjm31y0901vyc8m9h3v0zrhxydx1w9x50c"; + }; + }); + }; + }; #We need to use buildPythonPackage here to get the PYTHONPATH build correctly. #This is needed for services.bepasty #https://github.com/NixOS/nixpkgs/pull/38300 -buildPythonPackage rec { +in with python.pkgs; buildPythonPackage rec { pname = "bepasty"; version = "0.5.0"; @@ -36,6 +48,9 @@ buildPythonPackage rec { selenium ]; + # No tests in sdist + doCheck = false; + meta = { homepage = https://github.com/bepasty/bepasty-server; description = "Binary pastebin server";