nixpkgs/home/packages/sitediff/default.nix
Daniel Siepmann c616820b43
Switch to nativeBuildInputs where possible
This is used during build while buildInputs is used for runtime.
2023-02-22 13:59:25 +01:00

30 lines
593 B
Nix

{
lib,
fetchFromGitHub,
bundlerApp,
bundlerUpdateScript,
makeWrapper,
ruby
}:
bundlerApp rec {
pname = "sitediff";
exes = [ "sitediff" ];
inherit ruby;
gemdir = ./.;
nativeBuildInputs = [ makeWrapper ];
passthru.updateScript = bundlerUpdateScript "sitediff";
meta = with lib; {
description = "SiteDiff makes it easy to see differences between two versions of a website.";
homepage = "https://sitediff.io/";
changelog = "https://github.com/evolvingweb/sitediff/commits/master";
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}