Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, libbsd, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 version = "1.1.2"; 5 pname = "metastore"; 6 7 src = fetchFromGitHub { 8 owner = "przemoc"; 9 repo = "metastore"; 10 rev = "v${version}"; 11 sha256 = "0mb10wfckswqgi0bq25ncgabnd3iwj7s7hhg3wpcyfgckdynwizv"; 12 }; 13 14 buildInputs = [ libbsd ]; 15 installFlags = [ "PREFIX=$(out)" ]; 16 17 meta = with lib; { 18 description = "Store and restore metadata from a filesystem"; 19 homepage = "https://software.przemoc.net/#metastore"; 20 license = licenses.gpl2; 21 maintainers = with maintainers; [ sstef ]; 22 platforms = platforms.linux; 23 }; 24}