2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 15:03:55 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, unittest2
|
|
|
|
, nose
|
|
|
|
, mock
|
|
|
|
, libarchive
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "0.1.3";
|
|
|
|
pname = "tarman";
|
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0ri6gj883k042xaxa2d5ymmhbw2bfcxdzhh4bz7700ibxwxxj62h";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unittest2 nose mock ];
|
|
|
|
propagatedBuildInputs = [ libarchive ];
|
|
|
|
|
|
|
|
# tests are still failing
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/matejc/tarman";
|
2018-10-29 15:03:55 +00:00
|
|
|
description = "Archive manager with curses interface";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|