Merge pull request #330035 from Sigmanificient/fix-with-lib-sigma

Remove overuses of `with lib;` in packages i maintain
This commit is contained in:
Aleksana
2024-07-26 10:53:38 +08:00
committed by GitHub
28 changed files with 82 additions and 82 deletions
+4 -4
View File
@@ -15,12 +15,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake qttools wrapQtAppsHook ];
buildInputs = [ qtmultimedia ];
meta = with lib; {
meta = {
description = "Learn and train typing with the ten-finger system";
mainProgram = "tipp10";
homepage = "https://gitlab.com/tipp10/tipp10";
license = licenses.gpl2Only;
maintainers = with maintainers; [ sigmanificient ];
platforms = platforms.all;
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.all;
};
}
@@ -61,13 +61,13 @@ stdenv.mkDerivation (finalAttrs: {
providedSessions = [ "ragnar" ];
};
meta = with lib; {
meta = {
description = "Minimal, flexible & user-friendly X tiling window manager";
homepage = "https://ragnar-website.vercel.app";
changelog = "https://github.com/cococry/Ragnar/releases/tag/${finalAttrs.version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ sigmanificient ];
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "ragnar";
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
})
+3 -3
View File
@@ -29,12 +29,12 @@ rustPlatform.buildRustPackage rec {
--suffix PATH : ${lib.makeBinPath [ bat gnugrep gnumake ]}
'';
meta = with lib; {
meta = {
description = "Fuzzy finder for Makefile";
homepage = "https://github.com/kyu08/fzf-make";
changelog = "https://github.com/kyu08/fzf-make/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda sigmanificient ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ figsoda sigmanificient ];
mainProgram = "fzf-make";
};
}
+3 -3
View File
@@ -18,13 +18,13 @@ stdenv.mkDerivation rec {
install -Dt $out/bin rasm
'';
meta = with lib; {
meta = {
homepage = "http://rasm.wikidot.com/english-index:home";
description = "Z80 assembler";
mainProgram = "rasm";
# use -n option to display all licenses
license = licenses.mit; # expat version
license = lib.licenses.mit; # expat version
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = platforms.all;
platforms = lib.platforms.all;
};
}
+3 -3
View File
@@ -62,7 +62,7 @@ python3.pkgs.buildPythonApplication rec {
pythonImportsCheck = [ "TUIFIManager" ];
meta = with lib; {
meta = {
description = "Cross-platform terminal-based termux-oriented file manager";
longDescription = ''
A cross-platform terminal-based termux-oriented file manager (and component),
@@ -70,8 +70,8 @@ python3.pkgs.buildPythonApplication rec {
attempt to get more attention to the Uni-Curses project.
'';
homepage = "https://github.com/GiorgosXou/TUIFIManager";
license = licenses.gpl3Only;
maintainers = with maintainers; [ michaelBelsanti sigmanificient ];
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ michaelBelsanti sigmanificient ];
mainProgram = "tuifi";
};
}
+3 -3
View File
@@ -41,12 +41,12 @@ stdenv.mkDerivation (finalAttrs: {
find $out/lib -name \*debug\* -delete
'';
meta = with lib; {
meta = {
homepage = "http://www.and.org/ustr/";
description = "Micro String API for C language";
mainProgram = "ustr-import";
license = licenses.bsd2;
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
})
+3 -3
View File
@@ -47,11 +47,11 @@ buildGoModule rec {
command = "HOME=$(mktemp -d) wakatime-cli --version";
};
meta = with lib; {
meta = {
homepage = "https://wakatime.com/";
description = "WakaTime command line interface";
license = licenses.bsd3;
maintainers = with maintainers; [ sigmanificient ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "wakatime-cli";
};
}
@@ -26,12 +26,12 @@ stdenv.mkDerivation (finalAttrs: {
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
meta = {
homepage = "https://www.ijg.org/";
description = "Library that implements the JPEG image file format";
maintainers = with maintainers; [ sigmanificient ];
license = licenses.free;
maintainers = with lib.maintainers; [ sigmanificient ];
license = lib.licenses.free;
pkgConfigModules = [ "libjpeg" ];
platforms = platforms.unix;
platforms = lib.platforms.unix;
};
})
@@ -17,11 +17,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
meta = with lib; {
meta = {
description = "Zscheile Lowlevel (utility) library";
homepage = "https://github.com/fogti/libowlevelzs";
license = licenses.mit;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = platforms.all;
platforms = lib.platforms.all;
};
}
@@ -13,11 +13,11 @@ stdenv.mkDerivation {
nativeBuildInputs = [ meson ninja ];
meta = with lib; {
meta = {
description = "Lightweight JSON library written in C";
homepage = "https://github.com/kgabis/parson";
license = licenses.mit;
platforms = platforms.all;
license = lib.licenses.mit;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
+2 -2
View File
@@ -13,13 +13,13 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "1qfqhqimp56g34bir30zgl273yssrbmwf1h8h8yvdpzkybpd92gx";
meta = with lib; {
meta = {
homepage = "https://github.com/cgag/loc";
description = "Count lines of code quickly";
mainProgram = "loc";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = platforms.unix;
platforms = lib.platforms.unix;
};
}
@@ -23,11 +23,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "autotrash" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
meta = {
description = "Tool to automatically purge old trashed files";
license = licenses.gpl3Plus;
license = lib.licenses.gpl3Plus;
homepage = "https://bneijt.nl/pr/autotrash";
maintainers = with maintainers; [ sigmanificient ];
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "autotrash";
};
}
@@ -27,10 +27,10 @@ buildPythonPackage rec {
pytest
'';
meta = with lib; {
meta = {
description = "C/C++ source generation from an AST";
homepage = "https://github.com/inducer/cgen";
license = licenses.mit;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -29,11 +29,11 @@ buildPythonPackage rec {
--replace-fail "result ~= 0.9.0" "result >= 0.9.0"
'';
meta = with lib; {
meta = {
changelog = "https://github.com/trag1c/crossandra/blob/${src.rev}/CHANGELOG.md";
description = "Fast and simple enum/regex-based tokenizer with decent configurability";
license = licenses.mit;
license = lib.licenses.mit;
homepage = "https://trag1c.github.io/crossandra";
maintainers = with maintainers; [ sigmanificient ];
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -20,12 +20,12 @@ buildPythonPackage rec {
build-system = [ poetry-core ];
pythonImportsCheck = [ "dahlia" ];
meta = with lib; {
meta = {
changelog = "https://github.com/dahlia-lib/dahlia/blob/${src.rev}/CHANGELOG.md";
description = "Simple text formatting package, inspired by the game Minecraft";
license = licenses.mit;
license = lib.licenses.mit;
homepage = "https://github.com/dahlia-lib/dahlia";
maintainers = with maintainers; [ sigmanificient ];
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "dahlia";
};
}
@@ -39,12 +39,12 @@ buildPythonPackage rec {
"gcovr.configuration"
];
meta = with lib; {
meta = {
description = "Python script for summarizing gcov data";
mainProgram = "gcovr";
homepage = "https://www.gcovr.com/";
changelog = "https://github.com/gcovr/gcovr/blob/${version}/CHANGELOG.rst";
license = licenses.bsd0;
maintainers = with maintainers; [ sigmanificient ];
license = lib.licenses.bsd0;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -19,10 +19,10 @@ buildPythonPackage rec {
${python.interpreter} test.py
'';
meta = with lib; {
meta = {
description = "Version of the glob module that can capture patterns and supports recursive wildcards";
homepage = "https://github.com/miracle2k/python-glob2/";
license = licenses.bsd3;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -49,11 +49,11 @@ buildPythonPackage rec {
disabledTests = [ "test_handle_resp" ];
meta = with lib; {
meta = {
description = "A command handler for Hikari that keeps your project neat and tidy";
license = licenses.mit;
license = lib.licenses.mit;
homepage = "https://github.com/hikari-crescent/hikari-crescent";
maintainers = with maintainers; [ sigmanificient ];
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "hikari-crescent";
};
}
@@ -68,11 +68,11 @@ buildPythonPackage rec {
--replace-fail "__git_sha1__: typing.Final[str] = \"HEAD\"" "__git_sha1__: typing.Final[str] = \"$(cat $src/COMMIT)\""
'';
meta = with lib; {
meta = {
description = "Discord API wrapper for Python written with asyncio";
homepage = "https://www.hikari-py.dev/";
changelog = "https://github.com/hikari-py/hikari/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ tomodachi94 sigmanificient ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tomodachi94 sigmanificient ];
};
}
@@ -24,11 +24,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "intbitset" ];
meta = with lib; {
meta = {
description = "C-based extension implementing fast integer bit sets";
homepage = "https://github.com/inveniosoftware/intbitset";
changelog = "https://github.com/inveniosoftware-contrib/intbitset/blob/v${version}/CHANGELOG.rst";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ sigmanificient ];
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -20,11 +20,11 @@ buildPythonPackage rec {
build-system = [ poetry-core ];
pythonImportsCheck = [ "ixia" ];
meta = with lib; {
meta = {
changelog = "https://github.com/trag1c/ixia/blob/${src.rev}/CHANGELOG.md";
description = "Connecting secrets' security with random's versatility";
license = licenses.mit;
license = lib.licenses.mit;
homepage = "https://trag1c.github.io/ixia";
maintainers = with maintainers; [ sigmanificient ];
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -37,11 +37,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "sass" ];
meta = with lib; {
meta = {
description = "Python binding for libsass to compile Sass/SCSS";
mainProgram = "pysassc";
homepage = "https://sass.github.io/libsass-python/";
license = licenses.mit;
maintainers = with maintainers; [ sigmanificient ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -39,10 +39,10 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "normality" ];
meta = with lib; {
meta = {
description = "Micro-library to normalize text strings";
homepage = "https://github.com/pudo/normality";
license = licenses.mit;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -23,10 +23,10 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
meta = {
changelog = "https://github.com/trag1c/outspin/blob/${src.rev}/CHANGELOG.md";
description = "Conveniently read single char inputs in the console";
license = licenses.mit;
maintainers = with maintainers; [ sigmanificient ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -20,10 +20,10 @@ buildPythonPackage rec {
build-system = [ poetry-core ];
pythonImportsCheck = [ "paperbush" ];
meta = with lib; {
meta = {
changelog = "https://github.com/trag1c/paperbush/blob/${src.rev}/CHANGELOG.md";
description = "Super concise argument parsing tool for Python";
license = licenses.mit;
maintainers = with maintainers; [ sigmanificient ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -48,13 +48,13 @@ let
});
};
meta = with lib; {
meta = {
changelog = "https://github.com/pygments/pygments/releases/tag/${version}";
homepage = "https://pygments.org/";
description = "Generic syntax highlighter";
mainProgram = "pygmentize";
license = licenses.bsd2;
maintainers = with maintainers; [ sigmanificient ];
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ sigmanificient ];
};
};
in
@@ -37,10 +37,10 @@ buildPythonPackage rec {
doCheck = false;
pythonImportsCheck = [ "pytest_mypy" ];
meta = with lib; {
meta = {
description = "Mypy static type checker plugin for Pytest";
homepage = "https://github.com/dbader/pytest-mypy";
license = licenses.mit;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
@@ -32,10 +32,10 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
meta = {
description = "Backports python 3.10 typing features into 3.7, 3.8, and 3.9";
license = licenses.mit;
license = lib.licenses.mit;
homepage = "https://github.com/Lunarmagpie/sigparse";
maintainers = with maintainers; [ sigmanificient ];
maintainers = with lib.maintainers; [ sigmanificient ];
};
}