From 337420707d4b3ae6b4716c90cf036b53ec98917a Mon Sep 17 00:00:00 2001 From: Jan Christian Gruenhage Date: Tue, 20 Nov 2018 22:52:43 +0100 Subject: [PATCH] new package: topgrade-1.0.1 closes #4959 --- srcpkgs/topgrade/patches/aarch64-musl.patch | 14 ++++++++++++++ srcpkgs/topgrade/template | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/topgrade/patches/aarch64-musl.patch create mode 100644 srcpkgs/topgrade/template diff --git a/srcpkgs/topgrade/patches/aarch64-musl.patch b/srcpkgs/topgrade/patches/aarch64-musl.patch new file mode 100644 index 00000000000..49c3c534013 --- /dev/null +++ b/srcpkgs/topgrade/patches/aarch64-musl.patch @@ -0,0 +1,14 @@ +Use a version of the rust crate that doesn't error out on aarch-64musl with MAP_32BIT + +diff --git a/Cargo.toml b/Cargo.toml +index 31ec7ed..21ed0e6 100644 +--- Cargo.toml ++++ Cargo.toml +@@ -32,6 +32,7 @@ lto = true + + [patch.crates-io] + self_update = { git = "https://github.com/r-darwish/self_update", branch = "zip" } ++nix = { git = "https://github.com/nix-rust/nix", rev = "7f0fb19f21327e58faa71dace73c8b092c25c81b" } + + [features] + default = [] diff --git a/srcpkgs/topgrade/template b/srcpkgs/topgrade/template new file mode 100644 index 00000000000..27cd24cca34 --- /dev/null +++ b/srcpkgs/topgrade/template @@ -0,0 +1,11 @@ +# Template file for 'topgrade' +pkgname=topgrade +version=1.0.1 +revision=1 +build_style=cargo +short_desc="Meta upgrade tool for pip, flatpak, your distro and everything else" +maintainer="jcgruenhage " +license="GPL-3.0-only" +homepage="https://github.com/r-darwish/topgrade" +distfiles="https://github.com/r-darwish/topgrade/archive/v${version}.tar.gz" +checksum=e3551da7763e7219217a695a3445855d634e1428737c8a01a6e5832d31a7fc8d