summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/text/copyright-update
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2017-02-01 22:18:36 +0100
committerRobert Helgesson <robert@rycee.net>2017-02-01 22:19:24 +0100
commitde172ae0613092a0efb2fd7654943a06463b90ac (patch)
treeef92cf985927729b7c160b3e6e92dc079bff7f17 /pkgs/tools/text/copyright-update
parent7a1dd5fb551c8a7331b0394ae3b3e3933f6e9191 (diff)
copyright-update: init at 2016.1018
Diffstat (limited to 'pkgs/tools/text/copyright-update')
-rw-r--r--pkgs/tools/text/copyright-update/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/text/copyright-update/default.nix b/pkgs/tools/text/copyright-update/default.nix
new file mode 100644
index 000000000000..604097fbe778
--- /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 ];
+ };
+}