ssdfs-utils: init at 4.24

authored by ners and committed by Alyssa Ross f4c243b1 7f528f2f

+63
+47
pkgs/tools/filesystems/ssdfs-utils/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , libtool 6 + , libuuid 7 + , zlib 8 + }: 9 + 10 + stdenv.mkDerivation { 11 + # The files and commit messages in the repository refer to the package 12 + # as ssdfs-utils, not ssdfs-tools. 13 + pname = "ssdfs-utils"; 14 + # The version is taken from `configure.ac`, there are no tags. 15 + version = "4.24"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "dubeyko"; 19 + repo = "ssdfs-tools"; 20 + rev = "0a3ca85b454e56cf2422f33663639ad13fc792dd"; 21 + hash = "sha256-pzpwbvo0BR4fG6Cnxb9GdH/UZlJ6C5am7TULSLEzdvI="; 22 + }; 23 + 24 + strictDeps = true; 25 + 26 + nativeBuildInputs = [ 27 + autoreconfHook 28 + ]; 29 + 30 + buildInputs = [ 31 + libtool 32 + libuuid 33 + zlib 34 + ]; 35 + 36 + passthru = { 37 + updateScript = ./update.sh; 38 + }; 39 + 40 + meta = with lib; { 41 + description = "SSDFS file system utilities"; 42 + homepage = "https://github.com/dubeyko/ssdfs-tools"; 43 + license = licenses.bsd3Clear; 44 + maintainers = with maintainers; [ ners ]; 45 + platforms = platforms.linux; 46 + }; 47 + }
+14
pkgs/tools/filesystems/ssdfs-utils/update.sh
···
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p curl gnugrep common-updater-scripts 3 + set -euo pipefail 4 + 5 + owner=dubeyko 6 + repo=ssdfs-tools 7 + 8 + version="$(curl --silent https://raw.githubusercontent.com/${owner}/${repo}/master/configure.ac | \ 9 + grep 'AC_INIT(ssdfs' | \ 10 + egrep -o '[0-9\.]{3,}')" 11 + 12 + rev=$(curl -s -H "Accept: application/vnd.github.VERSION.sha" https://api.github.com/repos/${owner}/${repo}/commits/master) 13 + 14 + update-source-version ssdfs-utils "$version" --rev="$rev"
+2
pkgs/top-level/all-packages.nix
··· 4122 4123 btrfs-snap = callPackage ../tools/filesystems/btrfs-snap { }; 4124 4125 btlejack = python3Packages.callPackage ../applications/radio/btlejack { }; 4126 4127 btrbk = callPackage ../tools/backup/btrbk { };
··· 4122 4123 btrfs-snap = callPackage ../tools/filesystems/btrfs-snap { }; 4124 4125 + ssdfs-utils = callPackage ../tools/filesystems/ssdfs-utils { }; 4126 + 4127 btlejack = python3Packages.callPackage ../applications/radio/btlejack { }; 4128 4129 btrbk = callPackage ../tools/backup/btrbk { };