Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 python3Packages, 4 fetchPypi, 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "dotfiles"; 9 version = "0.6.5"; 10 format = "pyproject"; 11 12 src = fetchPypi { 13 inherit version pname; 14 sha256 = "sha256-fke8lNjyYts6cIrONAFd5r2wAlpWqJhd+usFAPCO5J4="; 15 }; 16 17 # No tests in archive 18 doCheck = false; 19 20 build-system = with python3Packages; [ setuptools ]; 21 22 dependencies = with python3Packages; [ click ]; 23 24 nativeCheckInputs = with python3Packages; [ pytest ]; 25 26 meta = with lib; { 27 description = "Easily manage your dotfiles"; 28 mainProgram = "dotfiles"; 29 homepage = "https://github.com/jbernard/dotfiles"; 30 license = licenses.isc; 31 }; 32}