Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pipe / default.nix
blobb59ea62f924f6fc31de82dab5273a695c4e5786a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "pipe";
12   version = "2.2";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "JulienPalard";
19     repo = "Pipe";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-/xMhh70g2KPOOivTjpAuyfu+Z44tBE5zAwpSIEKhK6M=";
22   };
24   build-system = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "pipe" ];
30   disabledTests = [
31     # Test require network access
32     "test_netcat"
33   ];
35   meta = with lib; {
36     description = "Module to use infix notation";
37     homepage = "https://github.com/JulienPalard/Pipe";
38     changelog = "https://github.com/JulienPalard/Pipe/releases/tag/v${version}";
39     license = licenses.mit;
40     maintainers = with maintainers; [ fab ];
41   };