depot/third_party/nixpkgs/pkgs/development/python-modules/mrbob/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

29 lines
657 B
Nix

{ buildPythonPackage, lib, glibcLocales, mock, nose, isPy3k, jinja2, six
, fetchPypi
}:
buildPythonPackage rec {
pname = "mr-bob";
version = "0.1.2";
src = fetchPypi {
inherit version;
pname = "mr.bob";
sha256 = "6737eaf98aaeae85e07ebef844ee5156df2f06a8b28d7c3dcb056f811c588121";
};
disabled = isPy3k;
checkInputs = [ nose glibcLocales mock ];
checkPhase = ''
LC_ALL="en_US.UTF-8" nosetests
'';
propagatedBuildInputs = [ jinja2 six ];
meta = with lib; {
homepage = "https://github.com/domenkozar/mr.bob";
description = "A tool to generate code skeletons from templates";
license = licenses.bsd3;
};
}