From becd4e0f3b4258b60593f6a6c2d72e8ba1887c19 Mon Sep 17 00:00:00 2001 From: Jakub Skokan Date: Thu, 11 May 2023 10:42:47 +0200 Subject: [PATCH] bepasty: 0.5.0 -> 1.1.0 Closes #116326 Closes #116429 --- pkgs/tools/misc/bepasty/default.nix | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/pkgs/tools/misc/bepasty/default.nix b/pkgs/tools/misc/bepasty/default.nix index cd2cac7684e8..ce080c155290 100644 --- a/pkgs/tools/misc/bepasty/default.nix +++ b/pkgs/tools/misc/bepasty/default.nix @@ -1,35 +1,22 @@ { python3 , lib }: - -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 -in with python.pkgs; buildPythonPackage rec { +with python3.pkgs; buildPythonPackage rec { pname = "bepasty"; - version = "0.5.0"; + version = "1.1.0"; propagatedBuildInputs = [ flask pygments setuptools xstatic + xstatic-asciinema-player xstatic-bootbox xstatic-bootstrap + xstatic-font-awesome xstatic-jquery xstatic-jquery-file-upload xstatic-jquery-ui @@ -40,7 +27,7 @@ in with python.pkgs; buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "1y3smw9620w2ia4zfsl2svb9j7mkfgc8z1bzjffyk1w5vryhwikh"; + sha256 = "sha256-f5tRq48tCqjzOGq7Z2T2U1zwQN121N9ap+xPxHWZyvU="; }; nativeCheckInputs = [ @@ -55,6 +42,6 @@ in with python.pkgs; buildPythonPackage rec { homepage = "https://github.com/bepasty/bepasty-server"; description = "Binary pastebin server"; license = lib.licenses.mit; - maintainers = [ lib.maintainers.makefu ]; + maintainers = with lib.maintainers; [ aither64 makefu ]; }; }