bepasty: move out of python-packages
because its a (web) application and thus doesn't belong there.
This commit is contained in:
parent
e0a23575d2
commit
997043c137
|
@ -3,7 +3,7 @@
|
|||
with lib;
|
||||
let
|
||||
gunicorn = pkgs.pythonPackages.gunicorn;
|
||||
bepasty = pkgs.pythonPackages.bepasty-server;
|
||||
bepasty = pkgs.bepasty;
|
||||
gevent = pkgs.pythonPackages.gevent;
|
||||
python = pkgs.pythonPackages.python;
|
||||
cfg = config.services.bepasty;
|
||||
|
|
34
pkgs/tools/misc/bepasty/default.nix
Normal file
34
pkgs/tools/misc/bepasty/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ python
|
||||
, lib
|
||||
}:
|
||||
|
||||
with python.pkgs;
|
||||
|
||||
buildPythonPackage rec {
|
||||
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";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://github.com/bepasty/bepasty-server;
|
||||
description = "Binary pastebin server";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.makefu ];
|
||||
};
|
||||
}
|
|
@ -1228,6 +1228,8 @@ with pkgs;
|
|||
pythonPackages = python2Packages;
|
||||
};
|
||||
|
||||
bepasty = callPackage ../tools/misc/bepasty { };
|
||||
|
||||
bfg-repo-cleaner = gitAndTools.bfg-repo-cleaner;
|
||||
|
||||
bgs = callPackage ../tools/X11/bgs { };
|
||||
|
|
|
@ -27380,33 +27380,6 @@ EOF
|
|||
};
|
||||
};
|
||||
|
||||
bepasty-server = buildPythonPackage rec {
|
||||
name = "bepasty-server-${version}";
|
||||
version = "0.4.0";
|
||||
propagatedBuildInputs = with self;[
|
||||
flask
|
||||
pygments
|
||||
xstatic
|
||||
xstatic-bootbox
|
||||
xstatic-bootstrap
|
||||
xstatic-jquery
|
||||
xstatic-jquery-file-upload
|
||||
xstatic-jquery-ui
|
||||
xstatic-pygments
|
||||
];
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/b/bepasty/bepasty-${version}.tar.gz";
|
||||
sha256 = "0bs79pgrjlnkmjfyj2hllbx3rw757va5w2g2aghi9cydmsl7gyi4";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://github.com/bepasty/bepasty-server;
|
||||
description = "Binary pastebin server";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.makefu ];
|
||||
};
|
||||
};
|
||||
|
||||
xgboost = buildPythonPackage rec {
|
||||
name = "xgboost-${version}";
|
||||
|
||||
|
|
Loading…
Reference in a new issue