silver-platter: 0.5.12 -> 0.5.20

Diff: https://github.com/jelmer/silver-platter/compare/0.5.12...0.5.20

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