mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
33 lines
745 B
Nix
33 lines
745 B
Nix
{
|
|
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;
|
|
};
|
|
}
|