1 { lib, buildPythonPackage, fetchPypi, six, pytest }:
3 buildPythonPackage rec {
5 pname = "python-gflags";
9 sha256 = "40ae131e899ef68e9e14aa53ca063839c34f6a168afe622217b5b875492a1ee2";
12 checkInputs = [ pytest ];
14 propagatedBuildInputs = [ six ];
17 # clashes with our pythhon wrapper (which is in argv0)
18 # AssertionError: 'gflags._helpers_test' != 'nix_run_setup.py'
19 py.test -k 'not testGetCallingModule'
23 homepage = "https://github.com/google/python-gflags";
24 description = "A module for command line handling, similar to Google's gflags for C++";
25 license = lib.licenses.bsd3;