pyditz: fix build (#351822)
This commit is contained in:
commit
b598e72429
@ -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;
|
||||
};
|
||||
}
|
33
pkgs/by-name/py/pyditz/package.nix
Normal file
33
pkgs/by-name/py/pyditz/package.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user