forked from mirrors/nixpkgs
sit: 0.3.2 -> 0.4.0 (#41863)
This commit is contained in:
parent
7cb01d58b2
commit
f45fd23bd1
|
@ -1,9 +0,0 @@
|
|||
diff --git a/.cargo/config b/.cargo/config
|
||||
new file mode 100644
|
||||
index 0000000..15e7649
|
||||
--- /dev/null
|
||||
+++ b/.cargo/config
|
||||
@@ -0,0 +1,3 @@
|
||||
+# https://github.com/rust-lang/rust/issues/50516
|
||||
+[target.'cfg(all(debug_assertions, target_arch = "aarch64"))']
|
||||
+rustflags = ["-C", "llvm-args=-fast-isel"]
|
|
@ -1,25 +1,30 @@
|
|||
{ stdenv, fetchFromGitHub, rustPlatform, cmake, libzip }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, cmake, libzip, gnupg,
|
||||
# Darwin
|
||||
libiconv, CoreFoundation, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "sit-${version}";
|
||||
version = "0.3.2";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sit-it";
|
||||
owner = "sit-fyi";
|
||||
repo = "sit";
|
||||
rev = "v${version}";
|
||||
sha256 = "0lhl4rrfmsi76498mg5si2xagl8l2pi5d92dxhsyzszpwn5jdp57";
|
||||
sha256 = "10ycs6vc7mfzxnxrki09xn974pcwh196h1pfnsds98x6r87hxkpn";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake libzip ];
|
||||
buildInputs = [ cmake libzip gnupg ] ++
|
||||
(if stdenv.isDarwin then [ libiconv CoreFoundation Security ] else []);
|
||||
|
||||
cargoSha256 = "102haqix13nwcncng1s8qkw68spn6fhh3vysk2nbahw6f78zczqg";
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
patches = [ ./aarch64-isel.patch ];
|
||||
cargoSha256 = "023anmnprxbsvqww1b1bdyfhbhjh1ah2kc67cdihvdvi4lqdmbia";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Serverless Information Tracker";
|
||||
homepage = https://sit.sh/;
|
||||
homepage = https://sit.fyi/;
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ dywedir yrashk ];
|
||||
platforms = platforms.all;
|
||||
|
|
|
@ -4994,7 +4994,9 @@ with pkgs;
|
|||
|
||||
sisco.lv2 = callPackage ../applications/audio/sisco.lv2 { };
|
||||
|
||||
sit = callPackage ../applications/version-management/sit { };
|
||||
sit = callPackage ../applications/version-management/sit {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||
};
|
||||
|
||||
skippy-xd = callPackage ../tools/X11/skippy-xd {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue