Skip to content

Instantly share code, notes, and snippets.

@vandenoever
Created April 14, 2014 21:32
Show Gist options
  • Save vandenoever/10684163 to your computer and use it in GitHub Desktop.
Save vandenoever/10684163 to your computer and use it in GitHub Desktop.
{ stdenv, fetchurl, python3, python32Packages, openssl }:
let
version = "0.12";
in
python32Packages.buildPythonPackage rec {
name = "attic-${version}";
src = fetchurl {
url = "https://pypi.python.org/packages/source/A/Attic/Attic-${version}.tar.gz";
sha256 = "3edeb6965a4ddac6fe8edc6fea49480ec04b3b37a54a975ec61584d4a5a59df1";
};
installPhase = ''
python3 setup.py install --prefix=$out
'';
buildInputs = [ python3 openssl ];
meta = {
description = "Attic is a deduplicating backup program written in Python.";
homepage = "https://attic-backup.org/";
license = "free";
maintainers = with stdenv.lib.maintainers; [Jonas Borgstrom];
platforms = with stdenv.lib.platforms; linux;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment