Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 35 lines 802 B view raw
1{ 2 buildGoModule, 3 fetchFromGitHub, 4 testers, 5 lib, 6 csvq, 7}: 8 9buildGoModule rec { 10 pname = "csvq"; 11 version = "1.18.1"; 12 13 src = fetchFromGitHub { 14 owner = "mithrandie"; 15 repo = "csvq"; 16 rev = "v${version}"; 17 hash = "sha256-1UK+LSMKryoUf2UWbGt8MU3zs5hH2WdpA2v/jBaIHYE="; 18 }; 19 20 vendorHash = "sha256-byBYp+iNnnsAXR+T3XmdwaeeBG8oB1EgNkDabzgUC98="; 21 22 passthru.tests.version = testers.testVersion { 23 package = csvq; 24 version = "csvq version ${version}"; 25 }; 26 27 meta = { 28 description = "SQL-like query language for CSV"; 29 mainProgram = "csvq"; 30 homepage = "https://mithrandie.github.io/csvq/"; 31 changelog = "https://github.com/mithrandie/csvq/releases/tag/v${version}"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ tomodachi94 ]; 34 }; 35}