1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, unittest2
6, nose
7, mock
8, libarchive
9}:
10
11buildPythonPackage rec {
12 version = "0.1.3";
13 pname = "tarman";
14 disabled = isPy3k;
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "0ri6gj883k042xaxa2d5ymmhbw2bfcxdzhh4bz7700ibxwxxj62h";
19 };
20
21 buildInputs = [ unittest2 nose mock ];
22 propagatedBuildInputs = [ libarchive ];
23
24 # tests are still failing
25 doCheck = false;
26
27 meta = with stdenv.lib; {
28 homepage = "https://github.com/matejc/tarman";
29 description = "Archive manager with curses interface";
30 license = licenses.bsd0;
31 broken = true; # doesn't unpack correctly
32 };
33
34}