2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 21:12:21 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cherrypy
|
|
|
|
, bottle
|
|
|
|
, lockfile
|
|
|
|
, clize
|
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildPythonPackage {
|
2018-10-29 21:12:21 +00:00
|
|
|
pname = "zerobin";
|
|
|
|
version = "20160108";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sametmax";
|
|
|
|
repo = "0bin";
|
|
|
|
rev = "7da1615";
|
|
|
|
sha256 = "1pzcwy454kn5216pvwjqzz311s6jbh7viw9s6kw4xps6f5h44bid";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cherrypy bottle lockfile clize ];
|
|
|
|
|
|
|
|
# zerobin doesn't have any tests, but includes a copy of cherrypy which
|
|
|
|
# can wrongly fail the check phase.
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-29 21:12:21 +00:00
|
|
|
description = "A client side encrypted pastebin";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://0bin.net/";
|
2018-10-29 21:12:21 +00:00
|
|
|
license = licenses.wtfpl;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|