[Nix-dev] dvdisaster: new package

Shea Levy shea at shealevy.com
Wed Sep 17 22:11:33 CEST 2014


Applied, thanks!

On Mon, Sep 08, 2014 at 03:29:56AM +0200, Anonymous wrote:
> dvdisaster: new package
> ---
> 
> diff --git a/pkgs/tools/cd-dvd/dvdisaster/default.nix b/pkgs/tools/cd-dvd/dvdisaster/default.nix
> new file mode 100644
> index 0000000..b54f342
> --- /dev/null
> +++ b/pkgs/tools/cd-dvd/dvdisaster/default.nix
> @@ -0,0 +1,29 @@
> +{ stdenv, fetchurl, pkgconfig, which, gettext, intltool
> +, glib, gtk2
> +}:
> +
> +stdenv.mkDerivation rec {
> +  name = "dvdisaster-0.72.6";
> +
> +  src = fetchurl {
> +    url = "http://dvdisaster.net/downloads/${name}.tar.bz2";
> +    sha256 = "e9787dea39aeafa38b26604752561bc895083c17b588489d857ac05c58be196b";
> +  };
> +
> +  postPatch = ''
> +    patchShebangs ./
> +  '';
> +
> +  buildInputs = [
> +    pkgconfig which gettext intltool
> +    glib gtk2
> +  ];
> +
> +  meta = {
> +    homepage = http://dvdisaster.net/;
> +    description =
> +      "Stores data on CD/DVD/BD in a way that it is fully recoverable even " +
> +      "after some read errors have developed";
> +    license = stdenv.lib.licenses.gpl2;
> +  };
> +}
> diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
> index b7037e5..778ee80 100644
> --- a/pkgs/top-level/all-packages.nix
> +++ b/pkgs/top-level/all-packages.nix
> @@ -961,6 +961,8 @@ let
>  
>    duply = callPackage ../tools/backup/duply { };
>  
> +  dvdisaster = callPackage ../tools/cd-dvd/dvdisaster { };
> +
>    dvdplusrwtools = callPackage ../tools/cd-dvd/dvd+rw-tools { };
>  
>    dvgrab = callPackage ../tools/video/dvgrab { };
> 
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list