mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
repocheck: move from python3Packages and refactor
This commit is contained in:
parent
7cb3d249b3
commit
be9227afa7
@ -1,21 +1,28 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "repocheck";
|
||||
version = "1.0.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "1jc4v5zy7z7xlfmbfzvyzkyz893f5x2k6kvb3ni3rn2df7jqhc81";
|
||||
rev = "ee48d0e88d3f5814d24a8d1f22d5d83732824688";
|
||||
repo = "repocheck";
|
||||
owner = "kynikos";
|
||||
repo = "repocheck";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-pCz+oAfDFyDeuXumfNzLTXnftM9+IG+lZzWSKtbZ9dg=";
|
||||
};
|
||||
|
||||
build-system = [ python3Packages.setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "repocheck" ];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Check the status of code repositories under a root directory";
|
@ -573,6 +573,7 @@ mapAliases ({
|
||||
recursivePthLoader = recursive-pth-loader; # added 2024-01-07
|
||||
rednose = throw "rednose is no longer maintained (since February 2018)"; # added 2023-08-06
|
||||
repeated_test = repeated-test; # added 2022-11-15
|
||||
repocheck = throw "repocheck has been promoted to a top-level attribute name: `pkgs.repocheck`"; # Added 2024-11-03
|
||||
reportengine = throw "reportengine has been removed, since it is unmaintained and broken"; # added 2024-08-21
|
||||
repoze_lru = repoze-lru; # added 2023-11-11
|
||||
repoze_sphinx_autointerface = repoze-sphinx-autointerface; # added 2023-11-11
|
||||
|
@ -13641,8 +13641,6 @@ self: super: with self; {
|
||||
|
||||
replicate = callPackage ../development/python-modules/replicate { };
|
||||
|
||||
repocheck = callPackage ../development/python-modules/repocheck { };
|
||||
|
||||
reportlab = callPackage ../development/python-modules/reportlab { };
|
||||
|
||||
reportlab-qrcode = callPackage ../development/python-modules/reportlab-qrcode { };
|
||||
|
Loading…
Reference in New Issue
Block a user