depot/third_party/nixpkgs/pkgs/applications/version-management/nitpick/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

40 lines
980 B
Nix

{ fetchFromGitHub
, buildPythonPackage
, lib
, isPy27
}:
buildPythonPackage rec {
pname = "nitpick";
version = "1.1";
format = "other";
disabled = !isPy27;
src = fetchFromGitHub {
owner = "travisb-ca";
repo = pname;
rev = version;
sha256 = "11gn6nc6ypwivy20bx1r0rm2giblwx6jv485zk875a9pdbcwbrf6";
};
installPhase = ''
mkdir -p $out/share/src
install -m 755 -t $out/share/src nitpick.py
mkdir -p $out/bin
ln -s $out/share/src/nitpick.py $out/bin/nitpick
'';
meta = {
description = "Distributed issue tracker";
longDescription = ''
Nitpick is a distributed issue tracker. It helps keep track of which nits you
should pick. It's intended to be used with source code such that the issues can
follow the code via whatever VCS or distribution mechanism.
'';
homepage = "http://travisbrown.ca/projects/nitpick/docs/nitpick.html";
license = with lib.licenses; gpl2;
maintainers = [];
};
}