Files
nixpkgs/pkgs/development/python-modules/daff/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

29 lines
633 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "daff";
version = "1.4.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-R/A5Htp+K1AR98ysAGuReKzLRlvLlKLJ8oQlf/9dJoY=";
};
# there are no tests
doCheck = false;
pythonImportsCheck = [ "daff" ];
meta = {
description = "Library for comparing tables, producing a summary of their differences, and using such a summary as a patch file";
homepage = "https://github.com/paulfitz/daff";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ turion ];
};
}