Skip to content

Commit

Permalink
bepasty: use correct version of xstatic-bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Mar 12, 2020
1 parent ed588cb commit 73fa456
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions 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";

Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 73fa456

Please sign in to comment.