Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 python3, 4 fetchFromGitHub, 5}: 6 7python3.pkgs.buildPythonApplication { 8 pname = "ghstack"; 9 version = "0.9.4"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "ezyang"; 14 repo = "ghstack"; 15 rev = "fa7e7023d798aad6b115b88c5ad67ce88a4fc2a6"; 16 hash = "sha256-Ywwjeupa8eE/vkrbl5SIbvQs53xaLnq9ieWRFwzmuuc="; 17 }; 18 19 build-system = [ python3.pkgs.poetry-core ]; 20 21 dependencies = with python3.pkgs; [ 22 aiohttp 23 click 24 flake8 25 importlib-metadata 26 requests 27 typing-extensions 28 ]; 29 30 pythonImportsCheck = [ "ghstack" ]; 31 32 meta = { 33 description = "Submit stacked diffs to GitHub on the command line"; 34 homepage = "https://github.com/ezyang/ghstack"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ munksgaard ]; 37 mainProgram = "ghstack"; 38 }; 39}