1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 setuptools,
7}:
8
9buildPythonPackage {
10 pname = "pipetools";
11 version = "1.1.0";
12 format = "setuptools";
13
14 # Used github as the src since the pypi package does not include the tests
15 src = fetchFromGitHub {
16 owner = "0101";
17 repo = "pipetools";
18 rev = "6cba9fadab07a16fd85eed16d5cffc609f84c62b";
19 hash = "sha256-BoZFePQCQfz1dkct5p/WQLuXoNX3eLcnKf3Mf0fG6u8=";
20 };
21
22 nativeCheckInputs = [ pytestCheckHook ];
23
24 propagatedBuildInputs = [ setuptools ];
25
26 pythonImportsCheck = [ "pipetools" ];
27
28 meta = {
29 description = "Library that enables function composition similar to using Unix pipes";
30 homepage = "https://0101.github.io/pipetools/";
31 license = lib.licenses.mit;
32 };
33}