Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 674 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchFromGitHub 4, cherrypy 5, bottle 6, lockfile 7, clize 8}: 9 10buildPythonPackage { 11 pname = "zerobin"; 12 version = "20160108"; 13 14 src = fetchFromGitHub { 15 owner = "sametmax"; 16 repo = "0bin"; 17 rev = "7da1615"; 18 sha256 = "1pzcwy454kn5216pvwjqzz311s6jbh7viw9s6kw4xps6f5h44bid"; 19 }; 20 21 propagatedBuildInputs = [ cherrypy bottle lockfile clize ]; 22 23 # zerobin doesn't have any tests, but includes a copy of cherrypy which 24 # can wrongly fail the check phase. 25 doCheck = false; 26 27 meta = with stdenv.lib; { 28 description = "A client side encrypted pastebin"; 29 homepage = "https://0bin.net/"; 30 license = licenses.wtfpl; 31 }; 32 33}