depot/third_party/nixpkgs/pkgs/development/python-modules/yarg/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
658 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
nose,
mock,
}:
buildPythonPackage rec {
pname = "yarg";
version = "0.1.9";
format = "setuptools";
src = fetchFromGitHub {
owner = "kura";
repo = pname;
rev = version;
sha256 = "1isq02s404fp9whkm8w2kvb2ik1sz0r258iby0q532zw81lga0d0";
};
propagatedBuildInputs = [ requests ];
nativeCheckInputs = [
nose
mock
];
checkPhase = ''
nosetests
'';
meta = with lib; {
description = "An easy to use PyPI client";
homepage = "https://yarg.readthedocs.io";
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}