Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 29 lines 732 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5}: 6python3Packages.buildPythonApplication { 7 pname = "fileinfo"; 8 version = "0-unstable-2022-09-16"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "sdushantha"; 13 repo = "fileinfo"; 14 rev = "503f26189ad5043bad3fe71333dd5ba3ffbce485"; 15 hash = "sha256-tEmCsR3LmTxeDZAbMvbIwqp/6uaGNUhgGlm18gdsnOw="; 16 }; 17 18 build-system = with python3Packages; [ setuptools ]; 19 20 dependencies = with python3Packages; [ requests ]; 21 22 meta = with lib; { 23 homepage = "https://github.com/sdushantha/fileinfo"; 24 description = "File extension metadata lookup tool"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ h7x4 ]; 27 mainProgram = "fileinfo"; 28 }; 29}