1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/development/python-modules/milc/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

51 lines
859 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
appdirs,
argcomplete,
colorama,
halo,
spinners,
types-colorama,
nose2,
semver,
}:
buildPythonPackage rec {
pname = "milc";
version = "1.8.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "clueboard";
repo = "milc";
rev = version;
hash = "sha256-DUA79R/pf/arG4diJKaJTSLNdB4E0XnS4NULlqP4h/M=";
};
propagatedBuildInputs = [
appdirs
argcomplete
colorama
halo
spinners
types-colorama
];
nativeCheckInputs = [
nose2
semver
];
pythonImportsCheck = [ "milc" ];
meta = with lib; {
description = "Opinionated Batteries-Included Python 3 CLI Framework";
mainProgram = "milc-color";
homepage = "https://milc.clueboard.co";
license = licenses.mit;
maintainers = with maintainers; [ bhipple ];
};
}