Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, perl }: 2 3stdenv.mkDerivation rec { 4 pname = "copyright-update"; 5 version = "2016.1018"; 6 7 src = fetchFromGitHub { 8 name = "${pname}-${version}-src"; 9 owner = "jaalto"; 10 repo = "project--copyright-update"; 11 rev = "release/${version}"; 12 sha256 = "1kj6jlgyxrgvrpv7fcgbibfqqa83xljp17v6sas42dlb105h6sgd"; 13 }; 14 15 buildInputs = [ perl ]; 16 17 installFlags = [ "INSTALL=install" "prefix=$(out)" ]; 18 19 meta = with lib; { 20 homepage = "https://github.com/jaalto/project--copyright-update"; 21 description = "Updates the copyright information in a set of files"; 22 license = licenses.gpl2Plus; 23 platforms = platforms.all; 24 maintainers = [ maintainers.rycee ]; 25 }; 26}