Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "filesplit"; 10 version = "4.1.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "ram-jayapalan"; 15 repo = "filesplit"; 16 tag = "v${version}"; 17 hash = "sha256-QttXCK/IalnOVilWQaE0FYhFglQ1nXDLUX3nOFI5Vrc="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 pythonImportsCheck = [ "filesplit" ]; 23 24 meta = { 25 description = "Split file into multiple chunks based on the given size"; 26 homepage = "https://github.com/ram-jayapalan/filesplit"; 27 license = lib.licenses.mit; 28 maintainers = with lib.maintainers; [ ]; 29 }; 30}