pinnwand: 1.2.0 -> 1.2.1

This commit is contained in:
Martin Weinelt 2020-08-06 20:15:24 +02:00
parent 433db3a30c
commit 45d5dc2aa9
No known key found for this signature in database
GPG Key ID: BD4AA0528F63F17E
2 changed files with 2 additions and 19 deletions

View File

@ -1,12 +0,0 @@
diff --git a/pyproject.toml b/pyproject.toml
index 3c4e87e..af27304 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -58,5 +58,6 @@ exclude = '''
pinnwand = 'pinnwand.__main__:main'
[build-system]
-requires = ["setuptools", "wheel"]
+requires = ["poetry>=0.12"]
+build-backend = "poetry.masonry.api"

View File

@ -14,21 +14,16 @@ let
}; };
in with python.pkgs; buildPythonApplication rec { in with python.pkgs; buildPythonApplication rec {
pname = "pinnwand"; pname = "pinnwand";
version = "1.2.0"; version = "1.2.1";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "supakeen"; owner = "supakeen";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "n5PH21QmU8YAb0WKXAKZR4wjfFTSSOtvlRq7yxRVZNE="; sha256 = "1rk7rpyb4vmqxqqv8k9jpjmgakr3mn1iaqxyj34r74p1n5vfzimq";
}; };
patches = [
# https://github.com/supakeen/pinnwand/issues/93
./add-build-backend.patch
];
nativeBuildInputs = [ nativeBuildInputs = [
poetry poetry
]; ];