diff --git a/pkgs/tools/networking/apc-temp-fetch/default.nix b/pkgs/by-name/ap/apc-temp-fetch/package.nix similarity index 73% rename from pkgs/tools/networking/apc-temp-fetch/default.nix rename to pkgs/by-name/ap/apc-temp-fetch/package.nix index 887421233df2..a1b4d2a48e5d 100644 --- a/pkgs/tools/networking/apc-temp-fetch/default.nix +++ b/pkgs/by-name/ap/apc-temp-fetch/package.nix @@ -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 = [ ]; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 56834e3bd07d..6c0c1ace4016 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; };