Merge branch 'master' into staging-next
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{ lib, stdenv, bzip2, zlib, autoconf, automake, cmake, gnumake, help2man , texinfo, libtool , cppzmq , libarchive, avro-cpp, boost, jansson, zeromq, openssl, pam, libiodbc, kerberos, gcc, libcxx, which, catch2 }:
|
||||
{ lib, stdenv, bzip2, zlib, autoconf, automake, cmake, gnumake, help2man , texinfo, libtool , cppzmq , libarchive, avro-cpp, boost, jansson, zeromq, openssl, pam, libiodbc, libkrb5, gcc, libcxx, which, catch2 }:
|
||||
|
||||
# Common attributes of irods packages
|
||||
|
||||
{
|
||||
nativeBuildInputs = [ autoconf automake cmake gnumake help2man texinfo which gcc ];
|
||||
buildInputs = [ bzip2 zlib libtool cppzmq libarchive avro-cpp jansson zeromq openssl pam libiodbc kerberos boost libcxx catch2 ];
|
||||
buildInputs = [ bzip2 zlib libtool cppzmq libarchive avro-cpp jansson zeromq openssl pam libiodbc libkrb5 boost libcxx catch2 ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DIRODS_EXTERNALS_FULLPATH_CLANG=${stdenv.cc}"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, bzip2, zlib, autoconf, automake, cmake, gnumake, help2man , texinfo, libtool , cppzmq , libarchive, avro-cpp_llvm, boost, jansson, zeromq, openssl , pam, libiodbc, kerberos, gcc, libcxx, which, catch2 }:
|
||||
{ lib, stdenv, fetchFromGitHub, bzip2, zlib, autoconf, automake, cmake, gnumake, help2man , texinfo, libtool , cppzmq , libarchive, avro-cpp_llvm, boost, jansson, zeromq, openssl , pam, libiodbc, libkrb5, gcc, libcxx, which, catch2 }:
|
||||
|
||||
let
|
||||
avro-cpp=avro-cpp_llvm;
|
||||
@@ -7,7 +7,7 @@ let
|
||||
common = import ./common.nix {
|
||||
inherit lib stdenv bzip2 zlib autoconf automake cmake gnumake
|
||||
help2man texinfo libtool cppzmq libarchive jansson
|
||||
zeromq openssl pam libiodbc kerberos gcc libcxx
|
||||
zeromq openssl pam libiodbc libkrb5 gcc libcxx
|
||||
boost avro-cpp which catch2;
|
||||
};
|
||||
in rec {
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
, fetchurl
|
||||
, lz4 ? null
|
||||
, lz4Support ? false
|
||||
, lzma
|
||||
, lzo
|
||||
, lib, stdenv
|
||||
, xz
|
||||
@@ -28,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1xpklm0y43nd9i6jw43y2xh5zvlmj9ar2rvknh0bh7kv8c95aq0d";
|
||||
};
|
||||
|
||||
buildInputs = [ lzma lzo xz zlib ]
|
||||
buildInputs = [ xz lzo xz zlib ]
|
||||
++ lib.optional lz4Support lz4;
|
||||
|
||||
patches = [ patch ];
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub
|
||||
, clang, llvmPackages, pkg-config
|
||||
, dbus, fuse, sqlite
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "supertag";
|
||||
version = "0.1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amoffat";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0jzm7pn38hlr96n0z8gqfsfdbw48y0nnbsgjdq7hpgwmcgvgqdam";
|
||||
};
|
||||
|
||||
cargoSha256 = "1mzmp1jcxgn2swp52r9y7k09fk0z67i1qafzkkzlfxxd10vfr70v";
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||
|
||||
nativeBuildInputs = [ clang pkg-config ];
|
||||
buildInputs = [ dbus fuse sqlite ];
|
||||
|
||||
# The test are requiring extended permissions.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tag-based filesystem";
|
||||
longDescription = ''
|
||||
Supertag is a tag-based filesystem, written in Rust, for Linux and MacOS.
|
||||
It provides a tag-based view of your files by removing the hierarchy
|
||||
constraints typically imposed on files and folders. In other words, it
|
||||
allows you to think about your files not as objects stored in folders, but
|
||||
as objects that can be filtered by folders.
|
||||
'';
|
||||
homepage = "https://github.com/amoffat/supertag";
|
||||
license = licenses.agpl3Plus;
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ oxzi ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user