pyditz: fix build (#351822)

This commit is contained in:
Aleksana 2024-10-28 20:58:54 +08:00 committed by GitHub
commit b598e72429
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 33 additions and 29 deletions

View File

@ -1,25 +0,0 @@
{ lib, pythonPackages, fetchPypi }:
with pythonPackages;
buildPythonApplication rec {
pname = "pyditz";
version = "0.11";
src = fetchPypi {
inherit pname version;
hash = "sha256-2gNlrpBk4wxKJ1JvsNeoAv2lyGUc2mmQ0Xvn7eiaJVE=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ pyyaml six jinja2 cerberus ];
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; {
homepage = "https://pypi.org/project/pyditz/";
description = "Drop-in replacement for the Ditz distributed issue tracker";
maintainers = [ maintainers.ilikeavocadoes ];
license = licenses.lgpl2;
platforms = platforms.linux;
};
}

View File

@ -0,0 +1,33 @@
{
lib,
python3Packages,
fetchPypi,
}:
python3Packages.buildPythonApplication rec {
pname = "pyditz";
version = "0.11";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-2gNlrpBk4wxKJ1JvsNeoAv2lyGUc2mmQ0Xvn7eiaJVE=";
};
build-system = with python3Packages; [ setuptools-scm ];
dependencies = with python3Packages; [
pyyaml
six
jinja2
cerberus
];
meta = {
homepage = "https://hg.sr.ht/~zondo/pyditz";
description = "Drop-in replacement for the Ditz distributed issue tracker";
maintainers = with lib.maintainers; [ ilikeavocadoes ];
license = lib.licenses.lgpl2Plus;
platforms = lib.platforms.linux;
};
}

View File

@ -11426,10 +11426,6 @@ with pkgs;
ticktick = callPackage ../applications/office/ticktick { };
pyditz = callPackage ../applications/misc/pyditz {
pythonPackages = python3Packages;
};
py-spy = darwin.apple_sdk_11_0.callPackage ../development/tools/py-spy {
# https://github.com/benfred/py-spy/issues/633
python3 = python311;