depot/third_party/nixpkgs/pkgs/development/python-modules/anitopy/default.nix

26 lines
594 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" ];
meta = with lib; {
description = "Python library for parsing anime video filenames";
homepage = "https://github.com/igorcmoura/anitopy";
license = licenses.mpl20;
maintainers = with maintainers; [ passivelemon ];
};
}