depot/third_party/nixpkgs/pkgs/development/python-modules/sarge/default.nix
Default email 893b09d324 Project import generated by Copybara.
GitOrigin-RevId: eac07edbd20ed4908b98790ba299250b5527ecdf
2021-12-24 12:21:11 +08:00

33 lines
657 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "sarge";
version = "0.1.7";
format = "setuptools";
src = fetchFromGitHub {
owner = "vsajip";
repo = pname;
rev = version;
sha256 = "sha256-E1alSDXj0oeyB6dN5PAtN62FPpMsCKb4R9DpfWdFtn0=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"sarge"
];
meta = with lib; {
description = "Python wrapper for subprocess which provides command pipeline functionality";
homepage = "https://sarge.readthedocs.org/";
license = licenses.bsd3;
maintainers = with maintainers; [ abbradar ];
};
}