nixos-config/5pkgs/prison-break/default.nix

21 lines
436 B
Nix
Raw Normal View History

{pkgs, fetchFromGitHub}:
with pkgs.python3.pkgs;
buildPythonPackage rec {
pname = "prison-break";
2019-08-26 11:37:23 +02:00
version = "1.3.0";
src = fetchFromGitHub {
owner = "makefu";
repo = pname;
rev = version;
2019-08-26 11:37:23 +02:00
sha256 = "sha256:1kjfwsz6wg5l9pa7484vq64f054qil0ksf6dh9arwspxwnzshgdh";
};
propagatedBuildInputs = [
docopt
requests
beautifulsoup4
(callPackage ./straight-plugin.nix {})
];
checkInputs = [ black ];
}