fpattern: init at v1.9

This commit is contained in:
Hugh O'Brien 2023-07-01 01:31:45 -04:00
parent 6b28b64c2c
commit 8d88b37bdb
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation (finalAttrs: {
version = "1.9";
pname = "fpattern";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "Loadmaster";
repo = finalAttrs.pname;
rev = "v${finalAttrs.version}";
hash = "sha256-/QvMQCmoocaXfDm3/c3IAPyfZqR6d7IiJ9UoFKZTpVI=";
};
installPhase = ''
runHook preInstall
mkdir -p $out $dev/include
cp *.c *.h $dev/include
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/Loadmaster/fpattern";
description = "Filename pattern matching library functions for DOS, Windows, and Unix";
license = licenses.mit;
maintainers = with maintainers; [ hughobrien ];
platforms = with platforms; linux;
};
})

View File

@ -7846,6 +7846,8 @@ with pkgs;
fpart = callPackage ../tools/misc/fpart { }; fpart = callPackage ../tools/misc/fpart { };
fpattern = callPackage ../development/libraries/fpattern { };
fping = callPackage ../tools/networking/fping { }; fping = callPackage ../tools/networking/fping { };
fpm = callPackage ../tools/package-management/fpm { }; fpm = callPackage ../tools/package-management/fpm { };