7 python3Packages.buildPythonApplication rec {
11 src = fetchFromGitHub {
15 sha256 = "1dfy3h823ylz4w2vv3mrmnmiyvf6rvyvsp4j3llr074w9id0zy16";
18 disabled = python3Packages.pythonOlder "3.7";
22 python3Packages.pyscss
26 propagatedBuildInputs = with python3Packages; [
37 # replace /bin/bash in compress.sh
40 # relax version constraints of some dependencies
41 substituteInPlace setup.cfg \
42 --replace "clize==4.1.1" "clize" \
43 --replace "bleach==3.1.5" "bleach>=3.1.5,<6" \
44 --replace "bottle==0.12.18" "bottle>=0.12.18,<1" \
45 --replace "Paste==3.4.3" "Paste>=3.4.3,<4"
54 # zerobin has no check, but checking would fail with:
55 # nix_run_setup runserver: Received extra arguments: test
56 # See https://github.com/NixOS/nixpkgs/pull/98734#discussion_r495823510
59 pythonImportsCheck = [ "zerobin" ];
62 description = "Client side encrypted pastebin";
63 homepage = "https://0bin.net/";
64 license = licenses.wtfpl;
65 platforms = platforms.all;
66 maintainers = with maintainers; [ julm ];