6 python = python3.override {
8 packageOverrides = self: super : {
9 xstatic-bootstrap = super.xstatic-bootstrap.overridePythonAttrs(oldAttrs: rec {
11 src = oldAttrs.src.override {
13 sha256 = "0cgihyjb9rg6r2ddpzbjm31y0901vyc8m9h3v0zrhxydx1w9x50c";
19 #We need to use buildPythonPackage here to get the PYTHONPATH build correctly.
20 #This is needed for services.bepasty
21 #https://github.com/NixOS/nixpkgs/pull/38300
22 in with python.pkgs; buildPythonPackage rec {
26 propagatedBuildInputs = [
34 xstatic-jquery-file-upload
39 buildInputs = [ setuptools-scm ];
42 inherit pname version;
43 sha256 = "1y3smw9620w2ia4zfsl2svb9j7mkfgc8z1bzjffyk1w5vryhwikh";
55 homepage = "https://github.com/bepasty/bepasty-server";
56 description = "Binary pastebin server";
57 license = lib.licenses.mit;
58 maintainers = [ lib.maintainers.makefu ];