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";
|
|
|
|
};
|
|
|
|
|
2024-06-13 00:14:25 +00:00
|
|
|
meta = {
|
2024-02-02 22:24:16 +00:00
|
|
|
description = "A simple namespaced plugin facility";
|
2024-06-13 00:14:25 +00:00
|
|
|
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 ];
|
|
|
|
}
|