mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
ablog: move to by-name, fix build
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
parent
25778548a8
commit
4d6e011773
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, python3
|
, python3
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
|
, gitUpdater
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
@ -8,9 +9,11 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
version = "0.11.8";
|
version = "0.11.8";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "sunpy";
|
||||||
hash = "sha256-PpNBfa4g14l8gm9+PxOFc2NDey031D7Ohutx2OGUeak=";
|
repo = "ablog";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-t3Vxw1IJoHuGqHv/0S4IoHwjWbtR6knXCBg4d0cM3lw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
@ -31,6 +34,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
|
|
||||||
nativeCheckInputs = with python3.pkgs; [
|
nativeCheckInputs = with python3.pkgs; [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
defusedxml
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
@ -39,6 +43,8 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
"-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
|
"-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "ABlog for blogging with Sphinx";
|
description = "ABlog for blogging with Sphinx";
|
||||||
mainProgram = "ablog";
|
mainProgram = "ablog";
|
@ -1501,8 +1501,6 @@ with pkgs;
|
|||||||
|
|
||||||
abduco = callPackage ../tools/misc/abduco { };
|
abduco = callPackage ../tools/misc/abduco { };
|
||||||
|
|
||||||
ablog = callPackage ../applications/misc/ablog { };
|
|
||||||
|
|
||||||
acct = callPackage ../tools/system/acct { };
|
acct = callPackage ../tools/system/acct { };
|
||||||
|
|
||||||
accuraterip-checksum = callPackage ../tools/audio/accuraterip-checksum { };
|
accuraterip-checksum = callPackage ../tools/audio/accuraterip-checksum { };
|
||||||
|
Loading…
Reference in New Issue
Block a user