depot/third_party/nixpkgs/pkgs/development/python-modules/yarg/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

27 lines
610 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, requests, nose, mock }:
buildPythonPackage rec {
pname = "yarg";
version = "0.1.9";
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 ];
};
}