Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 26 lines 658 B view raw
1{ 2 fetchFromGitHub, 3 lib, 4 postgresql, 5 postgresqlBuildExtension, 6}: 7 8postgresqlBuildExtension (finalAttrs: { 9 pname = "periods"; 10 version = "1.2.3"; 11 12 src = fetchFromGitHub { 13 owner = "xocolatl"; 14 repo = "periods"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-97v6+WNDcYb/KivlE/JBlRIZ3gYHj68AlK0fylp1cPo="; 17 }; 18 19 meta = { 20 description = "PostgreSQL extension implementing SQL standard functionality for PERIODs and SYSTEM VERSIONING"; 21 homepage = "https://github.com/xocolatl/periods"; 22 maintainers = with lib.maintainers; [ ivan ]; 23 platforms = postgresql.meta.platforms; 24 license = lib.licenses.postgresql; 25 }; 26})