depot/third_party/nixpkgs/pkgs/by-name/re/revup/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

66 lines
1.7 KiB
Nix

{ lib
, stdenv
, python3
, fetchPypi
}:
let
pname = "revup";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
hash = "sha256-EaBI414m5kihuaOkaHYAzvVxeJCgMIh9lD0JnCeVdZM=";
};
in
python3.pkgs.buildPythonPackage {
inherit pname version src;
nativeBuildInputs = with python3.pkgs; [
pip
setuptools
wheel
];
propagatedBuildInputs = with python3.pkgs; [
aiohttp
aiosignal
async-lru
async-timeout
charset-normalizer
multidict
requests
rich
yarl
];
nativeCheckInputs = with python3.pkgs; [
pytest
];
meta = {
homepage = "https://github.com/Skydio/revup";
description = " Revolutionary github tools";
longDescription = ''
Revup provides command-line tools that allow developers to iterate faster
on parallel changes and reduce the overhead of creating and maintaining
code reviews.
Features:
- Revup creates multiple independent chains of branches for you in the
background and without touching your working tree. It then creates and
manages github pull requests for all those branches.
- Pull requests target the actual base branch and can be merged manually
or by continuous integration
- Rebase detection saves time and continuous integration cost by not
re-pushing if the patch hasn't changed
- Adds reviewers, labels, and creates drafts all from the commit text
- Adds auto-updating "review graph" and "patchsets" elements to make pull
requests easier to navigate revup amend and revup restack save time by
replacing slow rebases
'';
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ AndersonTorres ];
mainProgram = "revup";
};
}