使用具有已删除依赖项的composer包

I want to use the simplesamlphp package for my SSO implementation. However, I cannot install the package via composer, because one of the dependencies no longer exists.

"simplesamlphp/simplesamlphp": "dev-master"

Output after running composer update -o:

  Problem 1
    - simplesamlphp/saml2 v0.4.1 requires robrichards/xmlseclibs 1.3.* -> no matching package found.
    - simplesamlphp/saml2 v0.4.0 requires robrichards/xmlseclibs 1.3.* -> no matching package found.
    - simplesamlphp/saml2 v0.3.0 requires robrichards/xmlseclibs 1.3.* -> no matching package found.

I know that simplesamlphp has a package simplesamlphp/xmlseclibs. Is there a way to load that package instead of the non-existing robrichards package?

I have searched for answers in the Composer documentation, but an alias is only used for local repositories it seems.

The forthcoming version of the package has an updated composer.json, fixing the issue with the deleted dependency by using the read-only mirror the package maintainer has created.

In the mean time, this doesn't help anyone using the package, especially not if you need a stable version.

The package maintainer should issue a point release, correcting only the dependency, to point their most recent stable version at the relocated dependency.

There doesn't seem to be a way around this short of manually installing the package and its dependency.

I managed a solution. In their github source, they have the non-existing package defined as a repository. So I added that repository to my own composer.json, and now it finally works! :D

snippet of my composer.json for reference:

{
    "require": {
        "simplesamlphp/simplesamlphp": "dev-master"
    },
    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "robrichards/xmlseclibs",
                "version": "1.3.1",
                "source": {
                    "type": "svn",
                    "url": "http://xmlseclibs.googlecode.com/svn",
                    "reference": "trunk@50"
                },
                "autoload": {
                    "files": ["xmlseclibs.php"]
                }
            }
        }
    ],
    "minimum-stability": "dev",
    "prefer-stable": true
}