mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
25 lines
551 B
Nix
25 lines
551 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "update-copyright";
|
|
version = "0.6.2";
|
|
format = "setuptools";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
# Has no tests
|
|
doCheck = false;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "17ybdgbdc62yqhda4kfy1vcs1yzp78d91qfhj5zbvz1afvmvdk7z";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "An automatic copyright update tool";
|
|
mainProgram = "update-copyright.py";
|
|
homepage = "http://blog.tremily.us/posts/update-copyright";
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|