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

46 lines
904 B
Nix
Raw Normal View History

2018-10-15 23:46:55 +01:00
{ python3Packages
, lib
}:
2018-10-15 23:46:55 +01:00
with python3Packages;
#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 {
pname = "bepasty";
2018-10-15 23:46:55 +01:00
version = "0.5.0";
propagatedBuildInputs = [
flask
pygments
2019-10-15 19:52:44 +01:00
setuptools
xstatic
xstatic-bootbox
xstatic-bootstrap
xstatic-jquery
xstatic-jquery-file-upload
xstatic-jquery-ui
xstatic-pygments
];
2018-10-15 23:46:55 +01:00
buildInputs = [ setuptools_scm ];
src = fetchPypi {
inherit pname version;
2018-10-15 23:46:55 +01:00
sha256 = "1y3smw9620w2ia4zfsl2svb9j7mkfgc8z1bzjffyk1w5vryhwikh";
};
checkInputs = [
pytest
selenium
];
meta = {
homepage = https://github.com/bepasty/bepasty-server;
description = "Binary pastebin server";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.makefu ];
};
}