mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
fpattern: init at v1.9
This commit is contained in:
parent
6b28b64c2c
commit
8d88b37bdb
29
pkgs/development/libraries/fpattern/default.nix
Normal file
29
pkgs/development/libraries/fpattern/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
})
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user