3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/argh/default.nix

34 lines
636 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, py
, mock
, pkgs
}:
buildPythonPackage rec {
pname = "argh";
2018-11-04 10:34:53 +00:00
version = "0.26.2";
src = fetchPypi {
inherit pname version;
2018-11-04 10:34:53 +00:00
sha256 = "e9535b8c84dc9571a48999094fda7f33e63c3f1b74f3e5f3ac0105a58405bb65";
};
buildInputs = [ pytest py mock pkgs.glibcLocales ];
checkPhase = ''
export LANG="en_US.UTF-8"
py.test
'';
meta = with stdenv.lib; {
homepage = http://github.com/neithere/argh/;
description = "An unobtrusive argparse wrapper with natural syntax";
license = licenses.lgpl2;
maintainers = with maintainers; [ domenkozar ];
};
}