3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/nitpick/default.nix

41 lines
982 B
Nix
Raw Normal View History

2017-03-06 15:12:49 +00:00
{ fetchFromGitHub
, buildPythonPackage
, lib
2017-03-06 15:12:49 +00:00
, isPy27
}:
buildPythonPackage rec {
pname = "nitpick";
version = "1.1";
format = "other";
disabled = !isPy27;
2021-01-15 13:21:58 +00:00
2017-03-06 15:12:49 +00:00
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
2021-01-15 13:21:58 +00:00
2017-03-06 15:12:49 +00:00
mkdir -p $out/bin
ln -s $out/share/src/nitpick.py $out/bin/nitpick
'';
meta = {
description = "A 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";
2021-01-15 13:21:58 +00:00
license = with lib.licenses; gpl2;
2017-03-06 15:12:49 +00:00
maintainers = [];
};
}