1 { buildPythonApplication
20 buildPythonApplication rec {
21 pname = "silver-platter";
25 src = fetchFromGitHub {
27 repo = "silver-platter";
29 hash = "sha256-k+C4jrC4FO/yy9Eb6x4lv1zyyp/eGkpMcDqZ0KoxfBs=";
32 cargoDeps = rustPlatform.fetchCargoTarball {
34 name = "${pname}-${version}";
35 hash = "sha256-+EUj6iBnHF4zlOAAfaHy5V/z6CCD/LFksBClE4FaHHc=";
38 propagatedBuildInputs = [ setuptools breezy dulwich jinja2 pyyaml ruamel-yaml ];
39 nativeBuildInputs = [ setuptools-rust rustPlatform.cargoSetupHook cargo rustc ]
40 ++ lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
41 buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ openssl ]
42 ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
44 pythonImportsCheck = [ "silver_platter" ];
47 description = "Automate the creation of merge proposals for scriptable changes";
48 homepage = "https://jelmer.uk/code/silver-platter";
49 license = licenses.gpl2Plus;
50 maintainers = with maintainers; [ lukegb ];