summary refs log blame commit diff
path: root/pkgs/development/python-modules/imgsize/default.nix
blob: a8f50cd8f326e52800cd8c2ff11b416dcf932266 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
     














                                                                    
                    





                                                   
{ lib
, buildPythonPackage
, fetchFromGitHub
}:

buildPythonPackage rec {
  pname = "imgsize";
  version = "2.1";

  src = fetchFromGitHub {
    owner = "ojii";
    repo = pname;
    rev = version;
    sha256 = "0k24qj4i996fz7lpjrs36il6lp51rh13b0j2wip87cy5v9109m2d";
  };

  meta = with lib; {
    description = "Pure Python image size library";
    homepage = "https://github.com/ojii/imgsize";
    license = with licenses; [ bsd3 ];
    maintainers = with maintainers; [ twey ];
  };
}