bepasty: use correct version of xstatic-bootstrap

This commit is contained in:
Frederik Rietdijk 2020-03-12 11:20:11 +01:00
parent ed588cb31c
commit 73fa45693c

View File

@ -1,13 +1,25 @@
{ python3Packages { python3
, lib , 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. #We need to use buildPythonPackage here to get the PYTHONPATH build correctly.
#This is needed for services.bepasty #This is needed for services.bepasty
#https://github.com/NixOS/nixpkgs/pull/38300 #https://github.com/NixOS/nixpkgs/pull/38300
buildPythonPackage rec { in with python.pkgs; buildPythonPackage rec {
pname = "bepasty"; pname = "bepasty";
version = "0.5.0"; version = "0.5.0";
@ -36,6 +48,9 @@ buildPythonPackage rec {
selenium selenium
]; ];
# No tests in sdist
doCheck = false;
meta = { meta = {
homepage = https://github.com/bepasty/bepasty-server; homepage = https://github.com/bepasty/bepasty-server;
description = "Binary pastebin server"; description = "Binary pastebin server";