git.iko.soy/typeable/nixpkgs
on master help sign in
sit: 0.3.2 -> 0.4.0 (#41863)
commitf45fd23bd12c01786d4401ce608b946fec7de69e authorYurii Rashkovskii <yrashk@gmail.com> dateTue 12 Jun 2018, 10:55 (8 years ago) parent7cb01d5
3 files changed+16−18
pkgs/applications/version-management/sit/aarch64-isel.patch−9 pkgs/applications/version-management/sit/default.nix+13−8 pkgs/top-level/all-packages.nix+3−1
pkgs/applications/version-management/sit/aarch64-isel.patchdeleted−9
@@ -1,9 +0,0 @@
1−diff --git a/.cargo/config b/.cargo/config
2−new file mode 100644
3−index 0000000..15e7649
4−--- /dev/null
5−+++ b/.cargo/config
6−@@ -0,0 +1,3 @@
7−+# https://github.com/rust-lang/rust/issues/50516
8−+[target.'cfg(all(debug_assertions, target_arch = "aarch64"))']
9−+rustflags = ["-C", "llvm-args=-fast-isel"]
pkgs/applications/version-management/sit/default.nix+13−8
@@ -1,25 +1,30 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, cmake, libzip }:
1+{ stdenv, fetchFromGitHub, rustPlatform, cmake, libzip, gnupg,
2+ # Darwin
3+ libiconv, CoreFoundation, Security }:
24
35rustPlatform.buildRustPackage rec {
46 name = "sit-${version}";
5− version = "0.3.2";
7+ version = "0.4.0";
68
79 src = fetchFromGitHub {
8− owner = "sit-it";
10+ owner = "sit-fyi";
911 repo = "sit";
1012 rev = "v${version}";
11− sha256 = "0lhl4rrfmsi76498mg5si2xagl8l2pi5d92dxhsyzszpwn5jdp57";
13+ sha256 = "10ycs6vc7mfzxnxrki09xn974pcwh196h1pfnsds98x6r87hxkpn";
1214 };
1315
14− buildInputs = [ cmake libzip ];
16+ buildInputs = [ cmake libzip gnupg ] ++
17+ (if stdenv.isDarwin then [ libiconv CoreFoundation Security ] else []);
1518
16− cargoSha256 = "102haqix13nwcncng1s8qkw68spn6fhh3vysk2nbahw6f78zczqg";
19+ preCheck = ''
20+ export HOME=$(mktemp -d)
21+ '';
1722
18− patches = [ ./aarch64-isel.patch ];
23+ cargoSha256 = "023anmnprxbsvqww1b1bdyfhbhjh1ah2kc67cdihvdvi4lqdmbia";
1924
2025 meta = with stdenv.lib; {
2126 description = "Serverless Information Tracker";
22− homepage = https://sit.sh/;
27+ homepage = https://sit.fyi/;
2328 license = with licenses; [ asl20 /* or */ mit ];
2429 maintainers = with maintainers; [ dywedir yrashk ];
2530 platforms = platforms.all;
pkgs/top-level/all-packages.nix+3−1
@@ -4994,7 +4994,9 @@ with pkgs;
49944994
49954995 sisco.lv2 = callPackage ../applications/audio/sisco.lv2 { };
49964996
4997− sit = callPackage ../applications/version-management/sit { };
4997+ sit = callPackage ../applications/version-management/sit {
4998+ inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
4999+ };
49985000
49995001 skippy-xd = callPackage ../tools/X11/skippy-xd {};
50005002