Commit graph

8 commits

Author SHA1 Message Date
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +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
Jon Banafato 2da6401bc2 pythonPackages.ofxtools: unbreak
- Remove `sqlalchemy` from `buildInputs`. This dependency was removed in
  [0.7.0]. Per the project's readme, `ofxtools` only depends on the
  standard library.

- Disable for Python versions older than 3.7, the minimum Python version
  supported by `ofxtools` starting with the [0.8.17] release.

- Fix the `checkPhase` by fetching from GitHub instead of PyPI to get a
  distribution that includes tests, overriding the home directory to
  allow tests that depend on it being writeable, and switching to
  `nosetests` to match the upstream project's test setup.

[0.7.0]: 8a795787d9
[0.8.17]: ddeda980ed
2020-04-13 00:26:35 -07:00
Frederik Rietdijk a4299fddc9 python: ofxtools: 0.5.4 -> 0.8.20 2019-10-27 16:26:47 +01:00
Frederik Rietdijk 6eded98e3d python: ofxtools: 0.5.2 -> 0.5.4 2019-04-18 12:42:41 +02:00
Frederik Rietdijk e3bc9f6570 python: ofxtools: 0.5.1 -> 0.5.2 2019-01-18 09:37:09 +01:00
Frederik Rietdijk 7281189ca9 python: ofxtools: 0.3.8 -> 0.5.1 2018-12-03 16:50:32 +01:00
Chris Ostrouchov b67cc15b3e
pythonPackages.ofxtools: refactor move to python-modules 2018-10-30 00:51:15 -04:00