nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 fetchFromGitHub,
3 buildPythonPackage,
4 lib,
5 isPy27,
6}:
7
8buildPythonPackage rec {
9 pname = "nitpick";
10 version = "1.1";
11
12 format = "other";
13 disabled = !isPy27;
14
15 src = fetchFromGitHub {
16 owner = "travisb-ca";
17 repo = pname;
18 rev = version;
19 sha256 = "11gn6nc6ypwivy20bx1r0rm2giblwx6jv485zk875a9pdbcwbrf6";
20 };
21
22 installPhase = ''
23 mkdir -p $out/share/src
24 install -m 755 -t $out/share/src nitpick.py
25
26 mkdir -p $out/bin
27 ln -s $out/share/src/nitpick.py $out/bin/nitpick
28 '';
29
30 meta = {
31 description = "Distributed issue tracker";
32 longDescription = ''
33 Nitpick is a distributed issue tracker. It helps keep track of which nits you
34 should pick. It's intended to be used with source code such that the issues can
35 follow the code via whatever VCS or distribution mechanism.
36 '';
37 homepage = "http://travisbrown.ca/projects/nitpick/docs/nitpick.html";
38 license = with lib.licenses; gpl2;
39 maintainers = [ ];
40 };
41}