os/pkgs/prison-break.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1,001 B
Nix
Raw Normal View History

2024-02-02 22:24:16 +00:00
self:
with self;
let
straight-plugin = python3.pkgs.buildPythonPackage rec {
pname = "straight-plugin";
version = "1.5.0";
src = fetchPypi {
pname = "straight.plugin";
inherit version;
sha256 = "818a7641068932ed6436d0af0a3bb77bbbde29df0a7142c8bd1a249e7c2f0d38";
};
meta = {
2024-02-02 22:24:16 +00:00
description = "A simple namespaced plugin facility";
homepage = "https://github.com/ironfroggy/straight.plugin";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.makefu ];
2024-02-02 22:24:16 +00:00
};
};
in
python3.pkgs.buildPythonPackage {
name = "env";
src = fetchFromGitHub {
owner = "makefu";
repo = "prison-break";
rev = "15079bb094d37eeba92e17abfb98523076c5800c";
sha256 = "sha256-MDzAmeJ6wsTm5+unIsYAZmErVN4sEAfih3YwbXkVIPg=";
};
propagatedBuildInputs = with python3.pkgs; [
docopt
requests
beautifulsoup4
notify2
straight-plugin
];
patches = [ ./prison-break-url.patch ];
checkInputs = [ python3.pkgs.black ];
}