Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / mnamer / default.nix
blobe928e631c07cac7cf7e06bf8eaf1024445bd3654
1 { python3Packages, fetchFromGitHub, lib }:
3 python3Packages.buildPythonApplication rec {
4   pname = "mnamer";
5   version = "2.5.4";
7   src = fetchFromGitHub {
8     owner = "jkwill87";
9     repo = "mnamer";
10     rev = version;
11     sha256 = "sha256-fONQq/RboWHFuEFU7HP1ThUpSjOIlkg54c2WlMUKwuk=";
12   };
14   propagatedBuildInputs = with python3Packages; [
15     babelfish
16     requests
17     appdirs
18     teletype
19     requests-cache
20     guessit
21   ];
23   patches = [
24     # requires specific old versions of dependencies which have been updated in nixpkgs
25     ./remove_requirements.patch
27     # author reads a private property that changed between versions
28     ./update_hack.patch
29   ];
31   nativeCheckInputs = [ python3Packages.pytestCheckHook ];
33   # disable test that fail (networking, etc)
34   disabledTests = [
35     "network"
36     "e2e"
37     "test_utils.py"
38   ];
40   meta = with lib; {
41     homepage = "https://github.com/jkwill87/mnamer";
42     description = "An intelligent and highly configurable media organization utility";
43     license = licenses.mit;
44     maintainers = with maintainers; [ urlordjames ];
45   };