nixpkgs/pkgs/development/python-modules/update-copyright/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
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.
2024-03-19 03:14:51 +01:00

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;
};
}