mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
sccache: init at 0.2.8
This commit is contained in:
parent
5a21a52074
commit
e1ab8ae4a9
2 changed files with 34 additions and 0 deletions
32
pkgs/development/tools/misc/sccache/default.nix
Normal file
32
pkgs/development/tools/misc/sccache/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ stdenv, fetchFromGitHub, cargo, rustc, rustPlatform, pkgconfig, glib, openssl }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
version = "0.2.8";
|
||||||
|
name = "sccache-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mozilla";
|
||||||
|
repo = "sccache";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "08v8s24q6246mdjzl5lirqg0csxcmd17szmw4lw373hvq4xvf0yk";
|
||||||
|
};
|
||||||
|
cargoSha256 = "1lafzin92h1hb1hqmbrsxja44nj8mpbsxhwcjr6rf5yrclgwmcxj";
|
||||||
|
cargoBuildFlags = [ "--features=all" ];
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgconfig cargo rustc
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
];
|
||||||
|
# Tests fail because of client server setup which is not possible inside the pure environment,
|
||||||
|
# see https://github.com/mozilla/sccache/issues/460
|
||||||
|
checkPhase = null;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Ccache with Cloud Storage";
|
||||||
|
homepage = https://github.com/mozilla/sccache;
|
||||||
|
maintainers = with maintainers; [ doronbehar ];
|
||||||
|
license = licenses.asl20;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
|
@ -24135,6 +24135,8 @@ in
|
||||||
|
|
||||||
iterm2 = callPackage ../applications/misc/iterm2 {};
|
iterm2 = callPackage ../applications/misc/iterm2 {};
|
||||||
|
|
||||||
|
sccache = callPackage ../development/tools/misc/sccache { };
|
||||||
|
|
||||||
sequeler = callPackage ../applications/misc/sequeler { };
|
sequeler = callPackage ../applications/misc/sequeler { };
|
||||||
|
|
||||||
sequelpro = callPackage ../applications/misc/sequelpro {};
|
sequelpro = callPackage ../applications/misc/sequelpro {};
|
||||||
|
|
Loading…
Reference in a new issue