nixpkgs/pkgs/development/python-modules/anitopy/default.nix
2023-12-02 20:23:32 -05:00

26 lines
609 B
Nix

{ lib,
buildPythonPackage,
fetchFromGitHub
}:
buildPythonPackage rec {
pname = "anitopy";
version = "2.1.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "igorcmoura";
repo = "anitopy";
rev = "v${version}";
hash = "sha256-xXEf7AJKg7grDmkKfFuC4Fk6QYFJtezClyfA3vq8TfQ=";
};
pythonImportsCheck = [ "anitopy" ];
doCheck = true;
meta = with lib; {
description = "Python library for parsing anime video filenames";
homepage = "https://github.com/igorcmoura/anitopy";
license = licenses.mpl20;
maintainers = with maintainers; [ passivelemon ];
};
}