nix-files/templates/pkgs/make/default.nix

36 lines
570 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "TODO";
version = "0.1.0";
src = fetchFromGitHub {
owner = "TODO";
repo = pname;
rev = "v${version}";
hash = "sha256-TODO";
};
nativeBuildInputs = [
];
buildInputs = [
];
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = with lib; {
description = "TODO (don't end in period)";
homepage = "TODO";
license = licenses.TODO;
maintainers = with maintainers; [ colinsane ];
platforms = platforms.linux;
};
}