My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/yarg/default.nix

27 lines
604 B

{ 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 ];
checkInputs = [ 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 ];
};
}