about summary refs log tree commit diff
path: root/pkgs/by-name/fi/fileinfo/package.nix
blob: 9b0965efaa100bfe309d3f514a533f9c49be5bb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication {
  pname = "fileinfo";
  version = "unstable-2022-09-16";
  src = fetchFromGitHub {
    owner = "sdushantha";
    repo = "fileinfo";
    rev = "503f26189ad5043bad3fe71333dd5ba3ffbce485";
    hash = "sha256-tEmCsR3LmTxeDZAbMvbIwqp/6uaGNUhgGlm18gdsnOw=";
  };

  propagatedBuildInputs = with python3Packages; [ requests ];

  meta = with lib; {
    homepage = "https://github.com/sdushantha/fileinfo";
    description = "A file extension metadata lookup tool";
    license = licenses.mit;
    maintainers = with maintainers; [ h7x4 ];
    mainProgram = "fileinfo";
  };
}