summary refs log tree commit diff
path: root/pkgs/development/python-modules/zerobin/default.nix
blob: 19d02a70496bbdb395a8358cee99c8f3fa1ff229 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchFromGitHub
, cherrypy
, bottle
, lockfile
, clize
}:

buildPythonPackage {
  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;

  meta = with lib; {
    description = "A client side encrypted pastebin";
    homepage = "https://0bin.net/";
    license = licenses.wtfpl;
  };

}