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

22 lines
448 B
Nix
Raw Normal View History

{pkgs, fetchFromGitHub}:
with pkgs.python3.pkgs;
buildPythonPackage rec {
pname = "prison-break";
2021-10-01 20:13:11 +02:00
version = "1.5.0";
src = fetchFromGitHub {
owner = "makefu";
repo = pname;
rev = version;
2021-10-01 20:13:11 +02:00
sha256 = "sha256:0gk7g5k9hzscsdkddm6978m43f4cdv2nzr47sclhjl7g2x7v97pm";
};
propagatedBuildInputs = [
docopt
requests
beautifulsoup4
2021-10-01 20:13:11 +02:00
notify2
(callPackage ./straight-plugin.nix {})
];
checkInputs = [ black ];
}