nixpkgs-suyu/pkgs/development/python-modules/imgsize/default.nix
James ‘Twey’ Kay 0aa340b2fc imgsize: init at 2.1
2020-09-07 10:19:37 -07:00

23 lines
498 B
Nix

{ stdenv
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "imgsize";
version = "2.1";
src = fetchFromGitHub {
owner = "ojii";
repo = pname;
rev = version;
sha256 = "0k24qj4i996fz7lpjrs36il6lp51rh13b0j2wip87cy5v9109m2d";
};
meta = with stdenv.lib; {
description = "Pure Python image size library";
homepage = "https://github.com/ojii/imgsize";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ twey ];
};
}