silver-platter: init at 0.5.12

This commit is contained in:
Luke Granger-Brown 2023-09-23 15:42:12 +00:00
parent 8ca1a9e376
commit 0c702bd8af
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{ buildPythonApplication
, lib
, fetchFromGitHub
, setuptools
, setuptools-rust
, rustPlatform
, cargo
, rustc
, breezy
, dulwich
, jinja2
, pyyaml
, ruamel-yaml
}:
buildPythonApplication rec {
pname = "silver-platter";
version = "0.5.12";
pyproject = true;
src = fetchFromGitHub {
owner = "jelmer";
repo = "silver-platter";
rev = version;
hash = "sha256-QkTT9UcJuGDAwpp/CtXobPvfTYQzFakBR72MhF//Bpo=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-QLnKu9D23FVp1jCSuxN3odPZ1ToAZ6i/FNS8BkmNuQw=";
};
propagatedBuildInputs = [ setuptools breezy dulwich jinja2 pyyaml ruamel-yaml ];
nativeBuildInputs = [ setuptools-rust rustPlatform.cargoSetupHook cargo rustc ];
meta = with lib; {
description = "Automate the creation of merge proposals for scriptable changes";
homepage = "https://jelmer.uk/code/silver-platter";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ lukegb ];
mainProgram = "svp";
};
}

View file

@ -2513,6 +2513,8 @@ with pkgs;
scmpuff = callPackage ../applications/version-management/scmpuff { };
silver-platter = python3Packages.callPackage ../applications/version-management/silver-platter { };
stgit = callPackage ../applications/version-management/stgit { };
subgit = callPackage ../applications/version-management/subgit { };