pinnwand: 1.5.0 -> 1.6.0

https://github.com/supakeen/pinnwand/releases/tag/v1.6.0
This commit is contained in:
Martin Weinelt 2024-11-01 13:42:20 +01:00
parent 7148776f86
commit 771d9030fa
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,40 +1,24 @@
{ lib { lib
, python3 , python3
, fetchFromGitHub , fetchFromGitHub
, fetchpatch2
, nixosTests , nixosTests
}: }:
with python3.pkgs; buildPythonApplication rec { with python3.pkgs; buildPythonApplication rec {
pname = "pinnwand"; pname = "pinnwand";
version = "1.5.0"; version = "1.6.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "supakeen"; owner = "supakeen";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-1Q/jRjFUoJb1S3cGF8aVuguWMJwYrAtXdKpZV8nRK0k="; hash = "sha256-oB7Dd1iVzGqr+5nG7BfZuwOQUgUnmg6ptQDZPGH7P5E=";
}; };
patches = [ build-system = [ pdm-pep517 ];
(fetchpatch2 {
# fix entrypoint
url = "https://github.com/supakeen/pinnwand/commit/7868b4b4dcd57066dd0023b5a3cbe91fc5a0a858.patch";
hash = "sha256-Fln9yJNRvNPHZ0JIgzmwwjUpAHMu55NaEb8ZVDWhLyE=";
})
];
nativeBuildInputs = [ dependencies = [
pdm-pep517
];
pythonRelaxDeps = [
"docutils"
"sqlalchemy"
];
propagatedBuildInputs = [
click click
docutils docutils
pygments pygments
@ -47,7 +31,19 @@ with python3.pkgs; buildPythonApplication rec {
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
gitpython
pytest-asyncio
pytest-cov-stub
pytest-html
pytest-playwright
pytestCheckHook pytestCheckHook
toml
urllib3
];
disabledTestPaths = [
# out-of-date browser tests
"test/e2e"
]; ];
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;
@ -61,6 +57,7 @@ with python3.pkgs; buildPythonApplication rec {
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ hexa ]; maintainers = with maintainers; [ hexa ];
mainProgram = "pinnwand"; mainProgram = "pinnwand";
platforms = platforms.linux;
}; };
} }