Commit graph

4 commits

Author SHA1 Message Date
Maximilian Bosch 1022c3c25a
python3Packages.git-annex-adapter: fix build
`git-annex` version 6.20180719 enhances the output of `git-annex info`
with a description and UUID of the repository which broke the testcase
`test_process_annex_info_batch` which parses the output of the info
command.

The testcase has been fixed accordingly and the patch was filed upstream
here: https://github.com/alpernebbi/git-annex-adapter/pull/6

I rechecked the functionality in a simple python environment with the
following expression:

```
with import ./. {};
python3.withPackages (ps: with ps; [ git-annex-adapter ])
```

Furthermore I tested the main functionality in a Python REPL within the environment.

The Darwin patch fixes tests that rely on `rev`, a binary which is
distributed in the `utillinux` package and not available on Nix with
Darwin.

To make the purpose of the patches for future contributors clear I
documented the purpose for each patch.
2018-08-16 10:20:20 +02:00
Maximilian Bosch 47558d9e04
python3Packages.git-annex-adapter: fix build
The exception message is broken becuase of some uppercase vs. lowercase
issues that have been patched accordingly.

Additionally use `fetchpatch` rather than `fetchurl` to apply patches
into the build.
2018-06-22 10:18:46 +02:00
Robert Schütz a7bcc079fa python3.pkgs.git-annex-adapter: replace eject by utillinux 2018-04-08 11:36:07 +02:00
Robert Schütz 17899afd08 python3Packages.git-annex-adapter: init at 0.2.0 2017-11-24 20:18:04 +01:00