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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
609 B
Nix
Raw Normal View History

2023-07-26 16:09:49 +02:00
{ 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 ];
};
}