![Daniël de Kok](/assets/img/avatar_default.png)
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in which cargo vendor erroneously changed permissions of vendored crates. This was fixed in Rust 1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are potentially broken. This change updates cargoSha256/cargoHash tree-wide. Fixes #121994.
42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
{ 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 = "093vrpp4in8854hb0h1lxrp8v6i9vfja0l69dnnp7z15qkpbir4f";
|
|
|
|
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/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 ];
|
|
};
|
|
}
|