default.nix (904B)
1 { 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 msgpack, 6 protobuf, 7 psycopg2, 8 setuptools, 9 }: 10 11 buildPythonPackage { 12 pname = "tracks-storage-server"; 13 version = "0-unstable-2026-07-19"; 14 pyproject = true; 15 16 __structuredAttrs = true; 17 18 src = fetchFromGitHub { 19 owner = "sikmir"; 20 repo = "tracks_storage_server"; 21 rev = "8d975293f884f0bb270e77690946ddf4e8a00a88"; 22 hash = "sha256-puFn9k5fL5dM1e5q3nl1m4xsceiXeT0vP3GTSzKE8Ho="; 23 }; 24 25 postPatch = '' 26 substitute config.py.example config.py --replace-fail "'password" "#'password" 27 ''; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ 32 msgpack 33 protobuf 34 psycopg2 35 ]; 36 37 pythonImportsCheck = [ "server" ]; 38 39 meta = { 40 description = "Tracks storage server"; 41 homepage = "https://github.com/sikmir/tracks_storage_server"; 42 license = lib.licenses.free; 43 maintainers = [ lib.maintainers.sikmir ]; 44 }; 45 }
