Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ fetchFromGitHub, lib, perl, postgresql, postgresqlBuildExtension, postgresqlTestExtension,}:postgresqlBuildExtension (finalAttrs: { pname = "pgddl"; version = "0.29";
src = fetchFromGitHub { owner = "lacanoid"; repo = "pgddl"; tag = finalAttrs.version; hash = "sha256-W3G6TGtkj+zXXdGZZR0bmZhsLuFJvuGTlDoo8kL8sf0="; };
nativeBuildInputs = [ perl ];
preBuild = '' patchShebangs --build ./bin/ ./docs '';
passthru.tests.extension = postgresqlTestExtension { inherit (finalAttrs) finalPackage; sql = '' CREATE EXTENSION ddlx;
CREATE TABLE a(i int PRIMARY KEY, j int);
SELECT ddlx_create('a'::regclass); SELECT ddlx_drop('a'::regclass); SELECT ddlx_script('a'::regclass); ''; };
meta = { description = "DDL eXtractor functions for PostgreSQL"; homepage = "https://github.com/lacanoid/pgddl"; changelog = "https://github.com/lacanoid/pgddl/releases/tag/${finalAttrs.version}"; platforms = postgresql.meta.platforms; maintainers = [ lib.maintainers.joshainglis ]; license = lib.licenses.postgresql; };})