anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / tools / misc / pricehist / default.nix
blob42af498bb858bbf6e49be129175e3e870da73e7d
1 { lib
2 , buildPythonApplication
3 , fetchFromGitLab
4 , requests
5 , lxml
6 , cssselect
7 , curlify
8 , poetry-core
9 , pytest-mock
10 , responses
11 , pytestCheckHook
14 buildPythonApplication rec {
15   pname = "pricehist";
16   version = "1.4.7";
17   format = "pyproject";
19   src = fetchFromGitLab {
20     owner = "chrisberkhout";
21     repo = "pricehist";
22     rev = version;
23     hash = "sha256-SBRJxNnA+nOxO6h97WZZHwhxoXeNtb5+rDayn4Hw6so=";
24   };
26   propagatedBuildInputs = [
27     requests
28     lxml
29     cssselect
30     curlify
31     poetry-core
32   ];
34   nativeBuildInputs = [
35   ];
37   nativeCheckInputs = [
38     responses
39     pytest-mock
40     pytestCheckHook
41   ];
43   meta = with lib; {
44     description = "Command-line tool for fetching and formatting historical price data, with support for multiple data sources and output formats";
45     homepage = "https://gitlab.com/chrisberkhout/pricehist";
46     license = licenses.mit;
47     mainProgram = "pricehist";
48     maintainers = with maintainers; [ chrpinedo ];
49   };