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