about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/zopfli/default.nix
blob: 9d675779351167744fc6f05119ae082b2a438b34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildPythonPackage, fetchPypi, pytest }:

buildPythonPackage rec {
  pname = "zopfli";
  version = "0.1.8";

  src = fetchPypi {
    inherit pname version;
    sha256 = "8b977dc07e3797907ab59e08096583bcd0b7e6c739849fbbeec09263f6356623";
    extension = "zip";
  };

  # doesn't work with pytestCheckHook
  checkInputs = [ pytest ];

  meta = with lib; {
    description = "cPython bindings for zopfli";
    homepage = "https://github.com/obp/py-zopfli";
    license = licenses.asl20;
    maintainers = [ maintainers.sternenseemann ];
  };
}