Merge pull request #241217 from hughobrien/fpattern-tidy

fpattern: fix: skip dev output, use explicit repo name
This commit is contained in:
Pol Dellaiera 2023-07-03 08:29:29 +02:00 committed by GitHub
commit bef40d4126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,19 +3,18 @@
stdenv.mkDerivation (finalAttrs: {
version = "1.9";
pname = "fpattern";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "Loadmaster";
repo = finalAttrs.pname;
repo = "fpattern";
rev = "v${finalAttrs.version}";
hash = "sha256-/QvMQCmoocaXfDm3/c3IAPyfZqR6d7IiJ9UoFKZTpVI=";
};
installPhase = ''
runHook preInstall
mkdir -p $out $dev/include
cp *.c *.h $dev/include
mkdir -p $out/include
cp *.c *.h $out/include
runHook postInstall
'';