ghstack: init at 0.9.3 (#341572)

This commit is contained in:
Felix Bühler 2024-11-16 18:35:25 +01:00 committed by GitHub
commit fca3a12e17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,39 @@
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "ghstack";
version = "0.9.3";
pyproject = true;
src = fetchFromGitHub {
owner = "ezyang";
repo = "ghstack";
rev = "0c412bf0d9515e11b58cddaeb1b1d9f0b17a5295";
hash = "sha256-VDsYIeFL8U5anUJ9KtWhEUeuoaO2qu5K7lSnGTjxNGs=";
};
build-system = [ python3.pkgs.poetry-core ];
dependencies = with python3.pkgs; [
aiohttp
click
flake8
importlib-metadata
requests
typing-extensions
];
pythonImportsCheck = [ "ghstack" ];
meta = {
description = "Submit stacked diffs to GitHub on the command line";
homepage = "https://github.com/ezyang/ghstack";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ munksgaard ];
mainProgram = "ghstack";
};
}