python3.pkgs.deprecated: build offline documentation
This commit is contained in:
parent
ad28c1ebcb
commit
34629fce5f
|
@ -1,20 +1,27 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, wrapt
|
||||
, pytestCheckHook
|
||||
, sphinxHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deprecated";
|
||||
version = "1.2.13";
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Deprecated";
|
||||
inherit version;
|
||||
hash = "sha256-Q6xTNdqQwxwkugKK9TapHUHVP55pAd2wIbzFcs5E440=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tantale";
|
||||
repo = "deprecated";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-rCDUY/TVmJqhrxDah62lEhqpr05JNZSyiFNTlHvSnmw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
sphinxHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
wrapt
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue