Loading pkgs/development/python-modules/git-dummy/default.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, installShellFiles, setuptools, gitpython, typer, pydantic-settings, }: buildPythonPackage rec { pname = "git-dummy"; version = "0.1.2"; pyproject = true; src = fetchFromGitHub { owner = "initialcommit-com"; repo = "git-dummy"; rev = "v${version}"; hash = "sha256-viybxn2J7SO7NgSvjwlP+tgtm+H6QrACafIy82d9XEk="; }; build-system = [ setuptools ]; dependencies = [ gitpython typer pydantic-settings ]; nativeBuildInputs = [ installShellFiles ]; postInstall = # https://github.com/NixOS/nixpkgs/issues/308283 lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd git-dummy \ --bash <($out/bin/git-dummy --show-completion bash) \ --fish <($out/bin/git-dummy --show-completion fish) \ --zsh <($out/bin/git-dummy --show-completion zsh) ''; meta = { homepage = "https://github.com/initialcommit-com/git-dummy"; description = "Generate dummy Git repositories populated with the desired number of commits, branches, and structure"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ mathiassven ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5071,6 +5071,8 @@ self: super: with self; { git-url-parse = callPackage ../development/python-modules/git-url-parse { }; git-dummy = callPackage ../development/python-modules/git-dummy { }; gitdb = callPackage ../development/python-modules/gitdb { }; githubkit = callPackage ../development/python-modules/githubkit { }; Loading Loading
pkgs/development/python-modules/git-dummy/default.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, installShellFiles, setuptools, gitpython, typer, pydantic-settings, }: buildPythonPackage rec { pname = "git-dummy"; version = "0.1.2"; pyproject = true; src = fetchFromGitHub { owner = "initialcommit-com"; repo = "git-dummy"; rev = "v${version}"; hash = "sha256-viybxn2J7SO7NgSvjwlP+tgtm+H6QrACafIy82d9XEk="; }; build-system = [ setuptools ]; dependencies = [ gitpython typer pydantic-settings ]; nativeBuildInputs = [ installShellFiles ]; postInstall = # https://github.com/NixOS/nixpkgs/issues/308283 lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd git-dummy \ --bash <($out/bin/git-dummy --show-completion bash) \ --fish <($out/bin/git-dummy --show-completion fish) \ --zsh <($out/bin/git-dummy --show-completion zsh) ''; meta = { homepage = "https://github.com/initialcommit-com/git-dummy"; description = "Generate dummy Git repositories populated with the desired number of commits, branches, and structure"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ mathiassven ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5071,6 +5071,8 @@ self: super: with self; { git-url-parse = callPackage ../development/python-modules/git-url-parse { }; git-dummy = callPackage ../development/python-modules/git-dummy { }; gitdb = callPackage ../development/python-modules/gitdb { }; githubkit = callPackage ../development/python-modules/githubkit { }; Loading