2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-12-07 07:45:13 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, appdirs
|
|
|
|
, argcomplete
|
|
|
|
, colorama
|
2021-06-28 23:13:55 +00:00
|
|
|
, halo
|
2021-04-05 15:23:46 +00:00
|
|
|
, nose2
|
|
|
|
, semver
|
2020-12-07 07:45:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "milc";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.4.2";
|
2020-12-07 07:45:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "clueboard";
|
|
|
|
repo = "milc";
|
|
|
|
rev = version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "sha256-aX6cTpIN9+9xuEGYHVlM5SjTPLcudJFEuOI4CiN3byE=";
|
2020-12-07 07:45:13 +00:00
|
|
|
};
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
appdirs
|
|
|
|
argcomplete
|
|
|
|
colorama
|
|
|
|
halo
|
|
|
|
];
|
2020-12-07 07:45:13 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
checkInputs = [
|
2021-04-05 15:23:46 +00:00
|
|
|
nose2
|
2021-06-28 23:13:55 +00:00
|
|
|
semver
|
|
|
|
];
|
2020-12-07 07:45:13 +00:00
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
pythonImportsCheck = [ "milc" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-12-07 07:45:13 +00:00
|
|
|
description = "An Opinionated Batteries-Included Python 3 CLI Framework";
|
|
|
|
homepage = "https://milc.clueboard.co";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bhipple ];
|
|
|
|
};
|
|
|
|
}
|