Commit graph

14 commits

Author SHA1 Message Date
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Robert Schütz 82fc1ec36e python3Packages.git-annex-adapter: fix tests
fixes https://github.com/NixOS/nixpkgs/issues/108588
2021-01-20 12:57:30 +01:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Graham Christensen bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Robert Scott 704c258ea7 pythonPackages.git-annex-adapter: 0.2.1 -> 0.2.2, fix build 2020-09-26 18:08:03 -07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Maximilian Bosch 9842c4b107
treewide: update which packages I'm currently maintaining
Idea shamelessly stolen from 4e60b0efae.

I realized that I don't really know anymore where I'm listed as maintainer and what
I'm actually (co)-maintaining which means that I can't proactively take
care of packages I officially maintain.

As I don't have the time, energy and motivation to take care of stuff I
was interested in 1 or 2 years ago (or packaged for someone else in the
past), I decided that I make this explicit by removing myself from several
packages and adding myself in some other stuff I'm now interested in.

I've seen it several times now that people remove themselves from a
package without removing the package if it's unmaintained after that
which is why I figured that it's fine in my case as the affected pkgs
are rather low-prio and were pretty easy to maintain.
2019-12-26 15:27:47 +01:00
Robert Schütz c1b7deab9f python.pkgs.git-annex-adapter: use patch to hardcode git-annex path 2019-02-20 15:05:37 +01:00
Robert Schütz db558b31b9 python3.pkgs.git-annex-adapter: 0.2.0 -> 0.2.1 2018-12-18 14:46:10 +01:00
Robert Schütz be096f9a27 python3.pkgs.git-annex-adapter: fix broken test
Apply https://github.com/alpernebbi/git-annex-adapter/pull/9.
2018-12-14 18:51:26 +01:00
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