Skip to content

Commit

Permalink
mud-git: init at 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
genga898 committed Oct 28, 2024
1 parent b143f15 commit 7af38c5
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/by-name/mu/mud-git/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
lib,
fetchFromGitHub,
python3Packages,
versionCheckHook,
}:

python3Packages.buildPythonApplication rec {
pname = "mud";
version = "1.0.1";
pyproject = true;

src = fetchFromGitHub {
owner = "jasursadikov";
repo = "mud";
rev = "refs/tags/v${version}";
hash = "sha256-pW4B4+RN7hKtG2enJ33OHBeGsLj8w20ylvjcOL6owAk=";
};

build-system = with python3Packages; [
hatchling
];

dependencies = with python3Packages; [
prettytable
];

nativeCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];

meta = {
description = "Mud is a multi-directory git runner which allows you to run git commands in a multiple repositories";
homepage = "https://pypi.org/project/mud-git/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ genga898 ];
mainProgram = "mud";
};
}

0 comments on commit 7af38c5

Please sign in to comment.