Moved obnam from pythonPackages to pkgs.

svn path=/nixpkgs/trunk/; revision=34336
This commit is contained in:
Rickard Nilsson 2012-06-04 05:02:31 +00:00
parent 887c89cc33
commit 0d719146a2
4 changed files with 25 additions and 21 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, python, pythonPackages, pycrypto, attr }:
pythonPackages.buildPythonPackage {
name = "obnam-1.0";
namePrefix = "";
src = fetchurl rec {
url = "http://code.liw.fi/debian/pool/main/o/obnam/obnam_1.0.orig.tar.gz";
sha256 = "b3589aac8d97283e44ed8e8c8cf751c4e9cc0677d433a85e27bd42f0d54da623";
};
buildInputs = [ pythonPackages.sphinx attr ];
propagatedBuildInputs = [ pycrypto pythonPackages.paramiko pythonPackages.tracing pythonPackages.ttystatus pythonPackages.cliapp pythonPackages.larch ];
doCheck = false;
meta = {
homepage = http://liw.fi/obnam/;
description = "A backup program supporting deduplication, compression and encryption.";
maintainers = [ stdenv.lib.maintainers.rickynils ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -1143,6 +1143,8 @@ let
obexftp = callPackage ../tools/bluetooth/obexftp { };
obnam = callPackage ../tools/backup/obnam { };
odt2txt = callPackage ../tools/text/odt2txt { };
offlineimap = callPackage ../tools/networking/offlineimap { };

View File

@ -2678,25 +2678,4 @@ let pythonPackages = python.modules // rec {
};
};
obnam = buildPythonPackage rec {
name = "obnam-1.0";
src = fetchurl rec {
url = "http://code.liw.fi/debian/pool/main/o/obnam/obnam_1.0.orig.tar.gz";
sha256 = "b3589aac8d97283e44ed8e8c8cf751c4e9cc0677d433a85e27bd42f0d54da623";
};
buildInputs = [ sphinx pkgs.attr ];
propagatedBuildInputs = [ paramiko tracing ttystatus cliapp larch ];
doCheck = false;
meta = {
homepage = http://liw.fi/obnam/;
description = "A backup program supporting deduplication, compression and encryption.";
maintainers = [ stdenv.lib.maintainers.rickynils ];
platforms = python.meta.platforms;
};
};
}; in pythonPackages

View File