summary refs log tree commit diff
path: root/pkgs/tools/misc/zsh-history-to-fish/default.nix
blob: ddb8098cdaafb3bf495284e261202080aa536096 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, fetchPypi
, python3
}:

python3.pkgs.buildPythonApplication rec {
  pname = "zsh-history-to-fish";
  version = "0.3.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-expPuffZttyXNRreplPC5Ee/jfWAyOnmjTIMXONtrnw=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    click
  ];

  # upstream has no tests
  doCheck = false;

  pythonImportsCheck = [
    "zsh_history_to_fish"
  ];

  meta = with lib; {
    description = "Bring your ZSH history to Fish shell";
    homepage = "https://github.com/rsalmei/zsh-history-to-fish";
    license = licenses.mit;
    maintainers = with maintainers; [ alanpearce ];
  };
}