Skip to content

Instantly share code, notes, and snippets.

@vandenoever
Created April 20, 2014 22:13
Show Gist options
  • Save vandenoever/11126576 to your computer and use it in GitHub Desktop.
Save vandenoever/11126576 to your computer and use it in GitHub Desktop.
{ stdenv, fetchurl, python27Packages, btrfsProgs }:
let
python = python27Packages;
in
python.buildPythonPackage rec {
name = "bedup-${version}";
version = "0.9.0";
src = fetchurl {
url = "https://github.com/g2p/bedup/archive/v${version}.tar.gz";
sha256 = "164g2y21ipyg3f58iald64sa8wl2jskyv9qlp4yg54l5wscv2zmk";
};
python_deps = [ python.cffi python.pycparser ];
pythonPath = python_deps;
buildInputs = [ btrfsProgs ];
propagatedBuildInputs = python_deps;
doCheck = false;
meta = {
description = "Btrfs deduplication";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment