2017-08-25 16:51:18 +01:00
|
|
|
{ python
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
with python.pkgs;
|
|
|
|
|
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";
|
|
|
|
version = "0.4.0";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
flask
|
|
|
|
pygments
|
|
|
|
xstatic
|
|
|
|
xstatic-bootbox
|
|
|
|
xstatic-bootstrap
|
|
|
|
xstatic-jquery
|
|
|
|
xstatic-jquery-file-upload
|
|
|
|
xstatic-jquery-ui
|
|
|
|
xstatic-pygments
|
|
|
|
];
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0bs79pgrjlnkmjfyj2hllbx3rw757va5w2g2aghi9cydmsl7gyi4";
|
|
|
|
};
|
|
|
|
|
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
|
|
|
}
|