2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2020-11-30 05:38:09 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, appdirs
|
|
|
|
, argcomplete
|
|
|
|
, colorama
|
2021-06-23 05:33:20 +02:00
|
|
|
, halo
|
2021-04-02 15:57:21 +02:00
|
|
|
, nose2
|
|
|
|
, semver
|
2020-11-30 05:38:09 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "milc";
|
2021-06-23 05:33:20 +02:00
|
|
|
version = "1.4.2";
|
2020-11-30 05:38:09 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "clueboard";
|
|
|
|
repo = "milc";
|
|
|
|
rev = version;
|
2021-06-23 05:33:20 +02:00
|
|
|
sha256 = "sha256-aX6cTpIN9+9xuEGYHVlM5SjTPLcudJFEuOI4CiN3byE=";
|
2020-11-30 05:38:09 +01:00
|
|
|
};
|
|
|
|
|
2021-06-23 05:33:20 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
appdirs
|
|
|
|
argcomplete
|
|
|
|
colorama
|
|
|
|
halo
|
|
|
|
];
|
2020-11-30 05:38:09 +01:00
|
|
|
|
2021-06-23 05:33:20 +02:00
|
|
|
checkInputs = [
|
2021-04-02 15:57:21 +02:00
|
|
|
nose2
|
2021-06-23 05:33:20 +02:00
|
|
|
semver
|
|
|
|
];
|
2020-11-30 05:38:09 +01:00
|
|
|
|
2021-04-02 15:57:21 +02:00
|
|
|
pythonImportsCheck = [ "milc" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-11-30 05:38:09 +01:00
|
|
|
description = "An Opinionated Batteries-Included Python 3 CLI Framework";
|
|
|
|
homepage = "https://milc.clueboard.co";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bhipple ];
|
|
|
|
};
|
|
|
|
}
|