pybugz: migrate from python312Packages.bugz (#369439)
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pybugz";
|
||||
version = "0.14";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "williamh";
|
||||
repo = "pybugz";
|
||||
tag = version;
|
||||
hash = "sha256-rhiCQPSh987QEM4aMd3R/7e6l+pm2eJDE7f5LckIuho=";
|
||||
};
|
||||
|
||||
build-system = [ python3Packages.flit-core ];
|
||||
|
||||
pythonImportsCheck = [ "bugz" ];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/williamh/pybugz";
|
||||
description = "Command line interface for Bugzilla";
|
||||
mainProgram = "bugz";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "bugz-0.9.3";
|
||||
version = "0.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "williamh";
|
||||
repo = "pybugz";
|
||||
rev = "0.13";
|
||||
sha256 = "1nw07q7r078dp82rcrhvvnhmnaqjx6f8a6cdjgrsiy6fryrx9dwz";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/williamh/pybugz";
|
||||
description = "Command line interface for Bugzilla";
|
||||
mainProgram = "bugz";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -90,6 +90,7 @@ mapAliases ({
|
||||
boto = throw "boto was removed as it is deprecated upstream, had not been updated since 2018, and failed to build; please use boto3 and botocore"; # Added 2024-09-22
|
||||
bsblan = python-bsblan; # added 2022-11-04
|
||||
btchip = btchip-python; # added 2023-03-03
|
||||
bugz = throw "use pkgs.pybugz instead"; # added 2024-12-31
|
||||
bugzilla = python-bugzilla; # added 2024-10-17
|
||||
buildbot = throw "use pkgs.buildbot instead"; # added 2022-04-07
|
||||
buildbot-ui = throw "use pkgs.buildbot-ui instead"; # added 2022-04-07
|
||||
|
||||
@@ -1952,8 +1952,6 @@ self: super: with self; {
|
||||
|
||||
bugwarrior = callPackage ../development/python-modules/bugwarrior { };
|
||||
|
||||
bugz = callPackage ../development/python-modules/bugz { };
|
||||
|
||||
buienradar = callPackage ../development/python-modules/buienradar { };
|
||||
|
||||
build = callPackage ../development/python-modules/build { };
|
||||
|
||||
Reference in New Issue
Block a user