Skip to content

Commit

Permalink
Change project name to linear-gamma-resize.
Browse files Browse the repository at this point in the history
  • Loading branch information
damianfral committed Nov 6, 2023
1 parent 2755657 commit 9fa9c89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@
};
in {
packages.default = pkgs.clangStdenv.mkDerivation {
name = "vips-linear-resample";
name = "linear-gamma-resizer";
src = filteredSrc;
buildInputs = [pkgs.vips pkgs.glibc pkgs.glib pkgs.pkg-config pkgs.llvmPackages.openmp];
meta = with pkgs.lib; {
description = "C program to resize images using libvips";
license = licenses.mit;
};
buildPhase = ''
$CC $(pkg-config vips --cflags --libs) -fopenmp -lpthread -lvips -O3 -o vips-linear-resample src/vips-linear-resample.c
$CC $(pkg-config vips --cflags --libs) -fopenmp -lpthread -lvips -O3 -o linear-gamma-resizer src/linear-gamma-resizer.c
'';
installPhase = ''
mkdir -p $out/bin
cp vips-linear-resample $out/bin
cp linear-gamma-resizer $out/bin
'';
};
devShells.default = (pkgs.mkShell.override {stdenv = pkgs.clangStdenv;}) {
Expand Down
File renamed without changes.

0 comments on commit 9fa9c89

Please sign in to comment.