apc-temp-fetch: migrate to by-name

This commit is contained in:
Grayson Tinker
2026-06-15 21:46:42 -07:00
parent 1aa08524d6
commit 2d839f48ef
2 changed files with 6 additions and 10 deletions
@@ -1,27 +1,25 @@
{
lib,
buildPythonApplication,
python3Packages,
fetchPypi,
requests,
setuptools,
}:
buildPythonApplication rec {
python3Packages.buildPythonApplication (finalAttrs: {
pname = "apc-temp-fetch";
version = "0.0.2";
pyproject = true;
src = fetchPypi {
pname = "APC-Temp-fetch";
inherit version;
inherit (finalAttrs) version;
hash = "sha256-lXGj/xrOkdMMYvuyVVSCojjQlzISFUT14VTn//iOARo=";
};
build-system = [
build-system = with python3Packages; [
setuptools
];
dependencies = [
dependencies = with python3Packages; [
requests
];
@@ -35,4 +33,4 @@ buildPythonApplication rec {
license = lib.licenses.asl20;
maintainers = [ ];
};
}
})
-2
View File
@@ -1810,8 +1810,6 @@ with pkgs;
util-linux = util-linuxMinimal;
};
apc-temp-fetch = with python3.pkgs; callPackage ../tools/networking/apc-temp-fetch { };
asciidoc-full = asciidoc.override {
enableStandardFeatures = true;
};