ma pkgs.prison-break: move back to own namespace, use nur.repos.makefu.prison-break for krebs
This commit is contained in:
parent
54033e2abc
commit
ae3c74a39a
20
5pkgs/prison-break/default.nix
Normal file
20
5pkgs/prison-break/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{pkgs, fetchFromGitHub}:
|
||||
with pkgs.python3.pkgs;
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "prison-break";
|
||||
version = "1.2.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "makefu";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "07wy6f06vj9s131c16gw1xl1jf9gq5xiqia8awfb26s99gxlv7l9";
|
||||
};
|
||||
propagatedBuildInputs = [
|
||||
docopt
|
||||
requests
|
||||
beautifulsoup4
|
||||
(callPackage ./straight-plugin.nix {})
|
||||
];
|
||||
checkInputs = [ black ];
|
||||
}
|
22
5pkgs/prison-break/straight-plugin.nix
Normal file
22
5pkgs/prison-break/straight-plugin.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "straight-plugin";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "straight.plugin";
|
||||
inherit version;
|
||||
sha256 = "818a7641068932ed6436d0af0a3bb77bbbde29df0a7142c8bd1a249e7c2f0d38";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple namespaced plugin facility";
|
||||
homepage = https://github.com/ironfroggy/straight.plugin;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.makefu ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue