nixpkgs/pkgs/os-specific/linux/metastore/default.nix

25 lines
617 B
Nix
Raw Normal View History

2020-02-23 21:38:49 +00:00
{ 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 stdenv.lib; {
description = "Store and restore metadata from a filesystem";
homepage = "https://software.przemoc.net/#metastore";
license = licenses.gpl2;
maintainers = with maintainers; [ sstef ];
platforms = platforms.linux;
};
}