Moved obnam from pythonPackages to pkgs.
svn path=/nixpkgs/trunk/; revision=34336
This commit is contained in:
parent
887c89cc33
commit
0d719146a2
23
pkgs/tools/backup/obnam/default.nix
Normal file
23
pkgs/tools/backup/obnam/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
@ -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
|
||||
|
0
tools/backup/obnam/default.nix
Normal file
0
tools/backup/obnam/default.nix
Normal file
Loading…
Reference in New Issue
Block a user