3
0
Fork 0
forked from mirrors/nixpkgs

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
}:
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";