nixpkgs/pkgs/tools/misc/bepasty/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1022 B
Nix
Raw Normal View History

2023-05-25 18:37:59 +00:00
{ lib
, python3
, fetchPypi
}:
#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
with python3.pkgs; buildPythonPackage rec {
pname = "bepasty";
version = "1.1.0";
propagatedBuildInputs = [
flask
pygments
2019-10-15 18:52:44 +00:00
setuptools
xstatic
xstatic-asciinema-player
xstatic-bootbox
xstatic-bootstrap
xstatic-font-awesome
xstatic-jquery
xstatic-jquery-file-upload
xstatic-jquery-ui
xstatic-pygments
];
2018-10-15 22:46:55 +00:00
buildInputs = [ setuptools-scm ];
2018-10-15 22:46:55 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-f5tRq48tCqjzOGq7Z2T2U1zwQN121N9ap+xPxHWZyvU=";
};
nativeCheckInputs = [
pytest
selenium
];
# No tests in sdist
doCheck = false;
meta = {
homepage = "https://github.com/bepasty/bepasty-server";
description = "Binary pastebin server";
2023-05-12 18:22:29 +00:00
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ aither64 makefu ];
};
}