2018-10-15 23:46:55 +01:00
|
|
|
{ python3Packages
|
2017-08-25 16:51:18 +01:00
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
2018-10-15 23:46:55 +01:00
|
|
|
with python3Packages;
|
2017-08-25 16:51:18 +01:00
|
|
|
|
2018-04-01 17:33:10 +01:00
|
|
|
#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 {
|
2017-08-25 16:51:18 +01:00
|
|
|
pname = "bepasty";
|
2018-10-15 23:46:55 +01:00
|
|
|
version = "0.5.0";
|
2017-08-25 16:51:18 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
flask
|
|
|
|
pygments
|
2019-10-15 19:52:44 +01:00
|
|
|
setuptools
|
2017-08-25 16:51:18 +01:00
|
|
|
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 ];
|
|
|
|
|
2017-08-25 16:51:18 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-15 23:46:55 +01:00
|
|
|
sha256 = "1y3smw9620w2ia4zfsl2svb9j7mkfgc8z1bzjffyk1w5vryhwikh";
|
2017-08-25 16:51:18 +01:00
|
|
|
};
|
|
|
|
|
2017-12-21 11:11:55 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
selenium
|
|
|
|
];
|
|
|
|
|
2017-08-25 16:51:18 +01:00
|
|
|
meta = {
|
2017-11-10 21:13:27 +00:00
|
|
|
homepage = https://github.com/bepasty/bepasty-server;
|
2017-08-25 16:51:18 +01:00
|
|
|
description = "Binary pastebin server";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.makefu ];
|
|
|
|
};
|
2018-06-06 21:07:04 +01:00
|
|
|
}
|