Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 php, 3 fetchFromGitHub, 4 lib, 5}: 6php.buildComposerProject2 (finalAttrs: { 7 pname = "simplesamlphp"; 8 version = "1.19.7"; 9 10 src = fetchFromGitHub { 11 owner = "simplesamlphp"; 12 repo = "simplesamlphp"; 13 tag = "v${finalAttrs.version}"; 14 hash = "sha256-Qmy9fuZq8MBqvYV6/u3Dg92pHHicuUhdNeB22u4hwwA="; 15 }; 16 17 vendorHash = "sha256-kFRvOxSfqlM+xzFFlEm9YrbQDOvC4AA0BtztFQ1xxDU="; 18 19 meta = { 20 description = "SimpleSAMLphp is an application written in native PHP that deals with authentication (SQL, .htpasswd, YubiKey, LDAP, PAPI, Radius)"; 21 homepage = "https://simplesamlphp.org"; 22 license = lib.licenses.lgpl21; 23 maintainers = with lib.maintainers; [ nhnn ]; 24 }; 25})