Merge pull request #37950 from Ma27/fix-mrbob
pythonPackages.mrbob: fix build
This commit is contained in:
28
pkgs/development/python-modules/mrbob/default.nix
Normal file
28
pkgs/development/python-modules/mrbob/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ buildPythonPackage, stdenv, glibcLocales, mock, nose, isPy3k, argparse, jinja2, six
|
||||
, fetchPypi, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mrbob";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6737eaf98aaeae85e07ebef844ee5156df2f06a8b28d7c3dcb056f811c588121";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
checkInputs = [ nose glibcLocales mock ];
|
||||
checkPhase = ''
|
||||
LC_ALL="en_US.UTF-8" nosetests
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ argparse jinja2 six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/domenkozar/mr.bob;
|
||||
description = "A tool to generate code skeletons from templates";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user