diff --git a/pkgs/tools/text/copyright-update/default.nix b/pkgs/tools/text/copyright-update/default.nix new file mode 100644 index 00000000000..604097fbe77 --- /dev/null +++ b/pkgs/tools/text/copyright-update/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, perl }: + +stdenv.mkDerivation rec { + name = "copyright-update-${version}"; + version = "2016.1018"; + + src = fetchFromGitHub { + name = "${name}-src"; + owner = "jaalto"; + repo = "project--copyright-update"; + rev = "release/${version}"; + sha256 = "1kj6jlgyxrgvrpv7fcgbibfqqa83xljp17v6sas42dlb105h6sgd"; + }; + + buildInputs = [ perl ]; + + installFlags = [ "INSTALL=install" "prefix=$(out)" ]; + + meta = with stdenv.lib; { + homepage = https://github.com/jaalto/project--copyright-update; + description = "Updates the copyright information in a set of files"; + license = licenses.gpl2Plus; + platforms = platforms.all; + maintainers = [ maintainers.rycee ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a2c08d2eea8..4cd17dfea3c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -743,6 +743,8 @@ with pkgs; consul-template = callPackage ../tools/system/consul-template { }; + copyright-update = callPackage ../tools/text/copyright-update { }; + corebird = callPackage ../applications/networking/corebird { }; corosync = callPackage ../servers/corosync { };