2017-08-25 17:51:18 +02:00
|
|
|
{ python
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
with python.pkgs;
|
|
|
|
|
2017-08-25 17:53:19 +02:00
|
|
|
buildPythonApplication rec {
|
2017-08-25 17:51:18 +02:00
|
|
|
pname = "bepasty";
|
|
|
|
version = "0.4.0";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
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 12:11:55 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
selenium
|
|
|
|
];
|
|
|
|
|
2017-08-25 17:51:18 +02:00
|
|
|
meta = {
|
2017-11-10 22:13:27 +01:00
|
|
|
homepage = https://github.com/bepasty/bepasty-server;
|
2017-08-25 17:51:18 +02:00
|
|
|
description = "Binary pastebin server";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.makefu ];
|
|
|
|
};
|
|
|
|
}
|