From a4cc03a80fd80c230a8148f5fe7899e48c72d499 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 24 Feb 2021 15:49:37 +0100 Subject: gnu: Add tmsu. * gnu/packages/file-systems.scm (tmsu): New variable. --- gnu/packages/file-systems.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages/file-systems.scm') diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index 1f9a54dfdf..866e9e5392 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -1156,3 +1156,36 @@ local file system using FUSE.") (description "This package provides Go native bindings for the FUSE kernel module.") (license license:bsd-3))) + +(define-public tmsu + (package + (name "tmsu") + (version "0.7.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/oniony/TMSU") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0834hah7p6ad81w60ifnxyh9zn09ddfgrll04kwjxwp7ypbv38wq")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/oniony/TMSU" + #:unpack-path "..")) + (inputs + `(("go-github-com-mattn-go-sqlite3" ,go-github-com-mattn-go-sqlite3) + ("go-github-com-hanwen-fuse" ,go-github-com-hanwen-fuse))) + (home-page "https://github.com/oniony/TMSU") + (synopsis "Tag files and access them through a virtual filesystem") + (description + "TMSU is a tool for tagging your files. It provides a simple +command-line utility for applying tags and a virtual filesystem to give you a +tag-based view of your files from any other program. TMSU does not alter your +files in any way: they remain unchanged on disk, or on the network, wherever +your put them. TMSU maintains its own database and you simply gain an +additional view, which you can mount where you like, based upon the tags you +set up.") + (license license:gpl3+))) -- cgit v1.2.3