mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
pinnwand: 1.5.0 -> 1.6.0
https://github.com/supakeen/pinnwand/releases/tag/v1.6.0
This commit is contained in:
parent
7148776f86
commit
771d9030fa
|
@ -1,40 +1,24 @@
|
|||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, fetchpatch2
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
with python3.pkgs; buildPythonApplication rec {
|
||||
pname = "pinnwand";
|
||||
version = "1.5.0";
|
||||
version = "1.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "supakeen";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-1Q/jRjFUoJb1S3cGF8aVuguWMJwYrAtXdKpZV8nRK0k=";
|
||||
hash = "sha256-oB7Dd1iVzGqr+5nG7BfZuwOQUgUnmg6ptQDZPGH7P5E=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
# fix entrypoint
|
||||
url = "https://github.com/supakeen/pinnwand/commit/7868b4b4dcd57066dd0023b5a3cbe91fc5a0a858.patch";
|
||||
hash = "sha256-Fln9yJNRvNPHZ0JIgzmwwjUpAHMu55NaEb8ZVDWhLyE=";
|
||||
})
|
||||
];
|
||||
build-system = [ pdm-pep517 ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pdm-pep517
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"docutils"
|
||||
"sqlalchemy"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
click
|
||||
docutils
|
||||
pygments
|
||||
|
@ -47,7 +31,19 @@ with python3.pkgs; buildPythonApplication rec {
|
|||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
gitpython
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytest-html
|
||||
pytest-playwright
|
||||
pytestCheckHook
|
||||
toml
|
||||
urllib3
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# out-of-date browser tests
|
||||
"test/e2e"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
@ -61,6 +57,7 @@ with python3.pkgs; buildPythonApplication rec {
|
|||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
mainProgram = "pinnwand";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue