Merge pull request #284236 from marsam/update-silver-platter

silver-platter: 0.5.12 -> 0.5.20

authored by Luke Granger-Brown and committed by GitHub 25fbf704 f898531d

+13 -4
+13 -4
pkgs/applications/version-management/silver-platter/default.nix
··· 1 1 { buildPythonApplication 2 2 , lib 3 + , stdenv 3 4 , fetchFromGitHub 5 + , pkg-config 4 6 , setuptools 5 7 , setuptools-rust 6 8 , rustPlatform ··· 9 11 , breezy 10 12 , dulwich 11 13 , jinja2 14 + , libiconv 15 + , openssl 12 16 , pyyaml 13 17 , ruamel-yaml 14 18 }: 15 19 16 20 buildPythonApplication rec { 17 21 pname = "silver-platter"; 18 - version = "0.5.12"; 22 + version = "0.5.20"; 19 23 pyproject = true; 20 24 21 25 src = fetchFromGitHub { 22 26 owner = "jelmer"; 23 27 repo = "silver-platter"; 24 28 rev = version; 25 - hash = "sha256-QkTT9UcJuGDAwpp/CtXobPvfTYQzFakBR72MhF//Bpo="; 29 + hash = "sha256-k+C4jrC4FO/yy9Eb6x4lv1zyyp/eGkpMcDqZ0KoxfBs="; 26 30 }; 27 31 28 32 cargoDeps = rustPlatform.fetchCargoTarball { 29 33 inherit src; 30 34 name = "${pname}-${version}"; 31 - hash = "sha256-QLnKu9D23FVp1jCSuxN3odPZ1ToAZ6i/FNS8BkmNuQw="; 35 + hash = "sha256-+EUj6iBnHF4zlOAAfaHy5V/z6CCD/LFksBClE4FaHHc="; 32 36 }; 33 37 34 38 propagatedBuildInputs = [ setuptools breezy dulwich jinja2 pyyaml ruamel-yaml ]; 35 - nativeBuildInputs = [ setuptools-rust rustPlatform.cargoSetupHook cargo rustc ]; 39 + nativeBuildInputs = [ setuptools-rust rustPlatform.cargoSetupHook cargo rustc ] 40 + ++ lib.optionals stdenv.isLinux [ pkg-config ]; 41 + buildInputs = lib.optionals stdenv.isLinux [ openssl ] 42 + ++ lib.optionals stdenv.isDarwin [ libiconv ]; 43 + 44 + pythonImportsCheck = [ "silver_platter" ]; 36 45 37 46 meta = with lib; { 38 47 description = "Automate the creation of merge proposals for scriptable changes";