mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
nitpick: Init at 1.1 (#23389)
This commit is contained in:
parent
17d80c49fa
commit
4da7f83f4e
41
pkgs/applications/version-management/nitpick/default.nix
Normal file
41
pkgs/applications/version-management/nitpick/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, stdenv
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nitpick";
|
||||
version = "1.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
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 = "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;
|
||||
license = with stdenv.lib.licenses; gpl2;
|
||||
maintainers = [];
|
||||
};
|
||||
}
|
@ -32156,6 +32156,8 @@ EOF
|
||||
|
||||
snakeviz = callPackage ../development/python-modules/snakeviz { };
|
||||
|
||||
nitpick = callPackage ../applications/version-management/nitpick { };
|
||||
|
||||
});
|
||||
|
||||
in fix' (extends overrides packages)
|
||||
|
Loading…
Reference in New Issue
Block a user