cryptop: use callPackage

This commit is contained in:
awwpotato 2025-08-04 21:08:01 -07:00
parent 5233ae82a0
commit fbe4cf6ae3
No known key found for this signature in database
2 changed files with 4 additions and 8 deletions

View File

@ -1,13 +1,9 @@
{ {
lib, lib,
buildPythonApplication, python3Packages,
fetchPypi, fetchPypi,
requests,
requests-cache,
setuptools,
}: }:
python3Packages.buildPythonApplication rec {
buildPythonApplication rec {
pname = "cryptop"; pname = "cryptop";
version = "0.2.0"; version = "0.2.0";
format = "setuptools"; format = "setuptools";
@ -17,7 +13,7 @@ buildPythonApplication rec {
sha256 = "0akrrz735vjfrm78plwyg84vabj0x3qficq9xxmy9kr40fhdkzpb"; sha256 = "0akrrz735vjfrm78plwyg84vabj0x3qficq9xxmy9kr40fhdkzpb";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = with python3Packages; [
setuptools setuptools
requests requests
requests-cache requests-cache

View File

@ -14237,7 +14237,7 @@ with pkgs;
inherit (darwin) autoSignDarwinBinariesHook; inherit (darwin) autoSignDarwinBinariesHook;
}; };
cryptop = python3.pkgs.callPackage ../applications/blockchains/cryptop { }; cryptop = callPackage ../applications/blockchains/cryptop { };
elements = libsForQt5.callPackage ../applications/blockchains/elements { elements = libsForQt5.callPackage ../applications/blockchains/elements {
withGui = true; withGui = true;