base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / fp / fpattern / package.nix
blobe1b75f025c89f73834af564176385687a0f9c02c
1 { stdenv, lib, fetchFromGitHub }:
3 stdenv.mkDerivation (finalAttrs: {
4   version = "1.9";
5   pname = "fpattern";
7   src = fetchFromGitHub {
8     owner = "Loadmaster";
9     repo = "fpattern";
10     rev = "v${finalAttrs.version}";
11     hash = "sha256-/QvMQCmoocaXfDm3/c3IAPyfZqR6d7IiJ9UoFKZTpVI=";
12   };
14   installPhase = ''
15     runHook preInstall
16     mkdir -p $out/include
17     cp *.c *.h $out/include
18     runHook postInstall
19   '';
21   meta = with lib; {
22     homepage = "https://github.com/Loadmaster/fpattern";
23     description = "Filename pattern matching library functions for DOS, Windows, and Unix";
24     license = licenses.mit;
25     maintainers = with maintainers; [ hughobrien ];
26     platforms = with platforms; linux;
27   };