Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
772 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
perl,
}:
stdenv.mkDerivation rec {
pname = "copyright-update";
version = "2025.0404";
src = fetchFromGitHub {
name = "${pname}-${version}-src";
owner = "jaalto";
repo = "project--copyright-update";
rev = "release/${version}";
sha256 = "sha256-FeKWCgCDA77iJ/cWtfx6hXSyWxwmlkW4EidPxy1W9VY=";
};
buildInputs = [ perl ];
installFlags = [
"INSTALL=install"
"prefix=$(out)"
];
meta = with lib; {
homepage = "https://github.com/jaalto/project--copyright-update";
description = "Updates the copyright information in a set of files";
mainProgram = "copyright-update";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = [ maintainers.rycee ];
};
}