pricehist: init at 1.4.6
This commit is contained in:
parent
a5792e0be6
commit
39a37b7705
46
pkgs/tools/misc/pricehist/default.nix
Normal file
46
pkgs/tools/misc/pricehist/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonApplication
|
||||||
|
, fetchFromGitLab
|
||||||
|
, requests
|
||||||
|
, lxml
|
||||||
|
, cssselect
|
||||||
|
, curlify
|
||||||
|
, poetry-core
|
||||||
|
, pytest-mock
|
||||||
|
, responses
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonApplication rec {
|
||||||
|
pname = "pricehist";
|
||||||
|
version = "1.4.6";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "chrisberkhout";
|
||||||
|
repo = "pricehist";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-RMZKp0JXQLt9tBZPkb3e/au85lV/FkRBCRYzd2lgUPc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
lxml
|
||||||
|
cssselect
|
||||||
|
curlify
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
responses
|
||||||
|
pytest-mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A command-line tool for fetching and formatting historical price data, with support for multiple data sources and output formats";
|
||||||
|
homepage = "https://gitlab.com/chrisberkhout/pricehist";
|
||||||
|
license = licenses.mit;
|
||||||
|
mainProgram = "pricehist";
|
||||||
|
maintainers = with maintainers; [ chrpinedo ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1935,6 +1935,8 @@ with pkgs;
|
||||||
|
|
||||||
polygon-cli = callPackage ../tools/networking/polygon-cli { };
|
polygon-cli = callPackage ../tools/networking/polygon-cli { };
|
||||||
|
|
||||||
|
pricehist = python3Packages.callPackage ../tools/misc/pricehist { };
|
||||||
|
|
||||||
proycon-wayout = callPackage ../tools/wayland/proycon-wayout { };
|
proycon-wayout = callPackage ../tools/wayland/proycon-wayout { };
|
||||||
|
|
||||||
q = callPackage ../tools/networking/q { };
|
q = callPackage ../tools/networking/q { };
|
||||||
|
|
Loading…
Reference in a new issue