Commit Graph

5 Commits

Author SHA1 Message Date
Alyssa Ross
98c3490196
ydiff,gitAndTools.ydiff: unify
We were packaging ydiff twice!

In this patch, I've merged the two expressions into one, trying to
take the best of each.  ydiff (top-level) didn't support being used as
a Python library, which is required by one other package (patroni), so
I chose gitAndTools.ydiff as the starting point, then moved in the
longDescription from the top-level one, as well as the code used to
run the tests.

While I was there, I fixed the tests, which were intended to be run by
the top-level ydiff but actually were not, because unlike mkDerivation
buildPythonApplication will not run `make test' by default.

Also, top-level ydiff previously propagated less and patchutils,
meaning they'd have been installed globally instead of just referenced
by ydiff.  gitAndTools.ydiff just did nothing.  Both also expected to
find git, hg, and svn in the environment, which was impure.  So now
all these programs are referenced by store path from ydiff, for
purity.
2021-01-14 10:38:16 +00: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
b63aa4ccb2
Deshaw: create team and reassign limeytexan's maintainership (#108678)
* team: add deshaw

* maintainership: reassign limeytexan's packages to the deshaw team
2021-01-07 10:44:08 -05:00
Frederik Rietdijk
ab290c73e8 python: ydiff: 1.1 -> 1.2 2020-08-16 19:31:20 +02:00
Michael Brantley
ce8d1c2adf pythonPackages.ydiff: init at 1.1 2020-02-14 14:52:44 -08:00