2021-01-11 07:54:33 +00:00
|
|
|
{ buildPythonPackage, lib, stdenv, glibcLocales, mock, nose, isPy3k, jinja2, six
|
2018-07-21 00:44:44 +00:00
|
|
|
, fetchPypi
|
2018-03-27 22:55:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-04-24 05:06:00 +00:00
|
|
|
pname = "mr-bob";
|
2018-03-27 22:55:00 +00:00
|
|
|
version = "0.1.2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2019-04-24 05:06:00 +00:00
|
|
|
inherit version;
|
|
|
|
pname = "mr.bob";
|
2018-03-27 22:55:00 +00:00
|
|
|
sha256 = "6737eaf98aaeae85e07ebef844ee5156df2f06a8b28d7c3dcb056f811c588121";
|
|
|
|
};
|
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
checkInputs = [ nose glibcLocales mock ];
|
|
|
|
checkPhase = ''
|
|
|
|
LC_ALL="en_US.UTF-8" nosetests
|
|
|
|
'';
|
|
|
|
|
2019-01-22 11:30:45 +00:00
|
|
|
propagatedBuildInputs = [ jinja2 six ];
|
2018-03-27 22:55:00 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/domenkozar/mr.bob";
|
2018-03-27 22:55:00 +00:00
|
|
|
description = "A tool to generate code skeletons from templates";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|