Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "pffft"; 5 version = "unstable-2022-04-10"; 6 7 src = fetchFromGitHub { 8 owner = "marton78"; 9 repo = pname; 10 rev = "08f5ed2618ac06d7dcc83d209d7253dc215274d5"; 11 sha256 = "sha256-9LfLQ17IRsbEwGQJZzhW2Av4en1KuJVicLrS2AyjUZY="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 meta = with lib; { 17 description = "Pretty Fast FFT (PFFFT) library"; 18 homepage = "https://github.com/marton78/pffft"; 19 license = licenses.bsd3; 20 maintainers = with maintainers; [ sikmir ]; 21 platforms = platforms.unix; 22 }; 23}