blob: 8ef8830494e1eca59b3bca700e824daac80b228e (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pipetools";
version = "1.1.0";
# Used github as the src since the pypi package does not include the tests
src = fetchFromGitHub {
owner = "0101";
repo = pname;
rev = "6cba9fadab07a16fd85eed16d5cffc609f84c62b";
hash = "sha256-BoZFePQCQfz1dkct5p/WQLuXoNX3eLcnKf3Mf0fG6u8=";
};
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ setuptools ];
pythonImportsCheck = [ "pipetools" ];
meta = {
description = "Library that enables function composition similar to using Unix pipes";
homepage = "https://0101.github.io/pipetools/";
license = lib.licenses.mit;
};
}
|