depot/third_party/nixpkgs/pkgs/os-specific/linux/metastore/default.nix
Default email 83627f9931 Project import generated by Copybara.
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
2024-06-24 14:47:55 -04:00

25 lines
650 B
Nix

{ lib, stdenv, libbsd, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "1.1.2";
pname = "metastore";
src = fetchFromGitHub {
owner = "przemoc";
repo = "metastore";
rev = "v${version}";
sha256 = "0mb10wfckswqgi0bq25ncgabnd3iwj7s7hhg3wpcyfgckdynwizv";
};
buildInputs = [ libbsd ];
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Store and restore metadata from a filesystem";
mainProgram = "metastore";
homepage = "https://software.przemoc.net/#metastore";
license = licenses.gpl2Only;
maintainers = with maintainers; [ sstef ];
platforms = platforms.linux;
};
}